diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-03-15 11:29:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-03-15 11:29:53 +0000 |
commit | 4765dc18ce4546a42d3aa2ce149a3c3fb4d79b00 (patch) | |
tree | 29466681c88eea5ed0346c222603343534c49d77 /html.h | |
parent | 7820a26ea52032d0330456ae02d4044b357144de (diff) | |
download | mandoc-4765dc18ce4546a42d3aa2ce149a3c3fb4d79b00.tar.gz mandoc-4765dc18ce4546a42d3aa2ce149a3c3fb4d79b00.tar.zst mandoc-4765dc18ce4546a42d3aa2ce149a3c3fb4d79b00.zip |
Minimal support for deep linking into man(7) pages.
As the man(7) language does not provide semantic markup,
only .SH, .SS, and .UR become anchors for now.
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.83 2017/02/05 20:22:04 schwarze Exp $ */ +/* $Id: html.h,v 1.84 2017/03/15 11:29:53 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -112,6 +112,7 @@ struct html { }; +struct roff_node; struct tbl_span; struct eqn; @@ -127,4 +128,5 @@ void print_eqn(struct html *, const struct eqn *); void print_paragraph(struct html *); void print_endline(struct html *); +char *html_make_id(const struct roff_node *); int html_strlen(const char *); |