aboutsummaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
Diffstat (limited to 'utility')
-rw-r--r--utility/formatter.xsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/utility/formatter.xsl b/utility/formatter.xsl
index 2c7f3b9..eae9395 100644
--- a/utility/formatter.xsl
+++ b/utility/formatter.xsl
@@ -42,6 +42,18 @@
</xsl:copy>
</xsl:template>
+<xsl:template match="h2" mode="embellish">
+ <h3>
+ <xsl:copy-of select="node()"/>
+ </h3>
+</xsl:template>
+
+<xsl:template match="h3" mode="embellish">
+ <h4>
+ <xsl:copy-of select="node()"/>
+ </h4>
+</xsl:template>
+
<xsl:template match="pre" mode="embellish">
<xsl:call-template name="highlighter">
<xsl:with-param name="source" select="code/text()"/>