summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-04 09:02:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-04 09:02:40 +0000
commit5cc3bfd93cd82efe6f2117712d452fb2d203e3ad (patch)
tree5ae88aebfb2485aa6a01f6284b42ec21b4bbe529
parentc7ff857af0582f9bc40a4b2dcd5b98f2039f30df (diff)
downloadmandoc-5cc3bfd93cd82efe6f2117712d452fb2d203e3ad.tar.gz
Example style-sheet reflecting modified section/subsection style tags.
Added ATTR_ID and so forth to attrs.
-rw-r--r--example.style.css6
-rw-r--r--html.c1
-rw-r--r--html.h1
3 files changed, 4 insertions, 4 deletions
diff --git a/example.style.css b/example.style.css
index cbb279cb..9488e22b 100644
--- a/example.style.css
+++ b/example.style.css
@@ -1,13 +1,11 @@
div.body { font-family: monospace;
min-width: 580px; width: 580px; } /* Top-most div tag. */
-span.sec-head { font-weight: bold; } /* Sections (Sh). */
-div.sec-head { }
+div.sec-head { font-weight: bold; } /* Sections (Sh). */
div.sec-body { }
div.sec-block { }
-span.ssec-head { font-weight: bold; } /* Sub-sections (Ss). */
-div.ssec-head { }
+div.ssec-head { font-weight: bold; } /* Sub-sections (Ss). */
div.ssec-body { }
div.ssec-block { }
diff --git a/html.c b/html.c
index 4eb9d746..da8397d8 100644
--- a/html.c
+++ b/html.c
@@ -75,6 +75,7 @@ static const char *const htmlattrs[ATTR_MAX] = {
"width",
"valign",
"target",
+ "id",
};
#ifdef __linux__
diff --git a/html.h b/html.h
index 4ec8c3cf..f1493774 100644
--- a/html.h
+++ b/html.h
@@ -57,6 +57,7 @@ enum htmlattr {
ATTR_WIDTH,
ATTR_VALIGN,
ATTR_TARGET,
+ ATTR_ID,
ATTR_MAX
};