From 4765dc18ce4546a42d3aa2ce149a3c3fb4d79b00 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 15 Mar 2017 11:29:53 +0000 Subject: 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. --- html.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'html.h') diff --git a/html.h b/html.h index 5be2f82d..02d5c57d 100644 --- a/html.h +++ b/html.h @@ -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 * Copyright (c) 2017 Ingo Schwarze @@ -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 *); -- cgit v1.2.3-56-ge451