aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-02-08 11:29:50 +0100
committerUlrich Müller <ulm@gentoo.org>2024-02-08 11:29:50 +0100
commitbd474970728035c6286f1071162efefd6f8d63e9 (patch)
treea85b29842a64f66a977cb014c95c76b41a2a6a5c /appendices
parentMakefile: Drop obsolete test for xmllint --quiet (diff)
downloaddevmanual-bd474970728035c6286f1071162efefd6f8d63e9.tar.gz
devmanual-bd474970728035c6286f1071162efefd6f8d63e9.tar.bz2
devmanual-bd474970728035c6286f1071162efefd6f8d63e9.zip
devbook.xsl: Add sub and sup elements
These were present in GuideXML: https://gitweb.gentoo.org/proj/devmanual.git/tree/appendices/contributing/devbook-guide/text.xml?id=8be0d382fb82dc4cfe73b1b85bb7fc3c923a21c7#n397 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'appendices')
-rw-r--r--appendices/devbook-guide/text.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/appendices/devbook-guide/text.xml b/appendices/devbook-guide/text.xml
index 5015f0b..8301b0a 100644
--- a/appendices/devbook-guide/text.xml
+++ b/appendices/devbook-guide/text.xml
@@ -465,7 +465,7 @@ together:
<section>
<title>Inline elements</title>
<subsection>
-<title>&lt;c&gt;, &lt;b&gt;, and &lt;e&gt;</title>
+<title>&lt;c&gt;, &lt;b&gt;, &lt;e&gt;, &lt;sub&gt; and &lt;sup&gt;</title>
<body>
<p>
@@ -495,6 +495,11 @@ offset from the regular paragraph type for emphasis. This helps to give your
prose more <e>punch</e>!
</p>
+<p>
+The <c>&lt;sub&gt;</c> and <c>&lt;sup&gt;</c> elements are used to specify
+<sub>subscript</sub> and <sup>superscript</sup>.
+</p>
+
</body>
</subsection>
<subsection>