diff options
Diffstat (limited to 'xsl/webpage.xsl')
-rw-r--r-- | xsl/webpage.xsl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xsl/webpage.xsl b/xsl/webpage.xsl index 8efc0a2..309d8a2 100644 --- a/xsl/webpage.xsl +++ b/xsl/webpage.xsl @@ -224,6 +224,18 @@ <xsl:apply-templates select="webpage:*"/> </xsl:template> + <xsl:template match="webpage:code"> + <pre class="code"> + <xsl:apply-templates select="webpage:*"/> + </pre> + </xsl:template> + + <xsl:template match="webpage:inlineCode"> + <xsl:text> </xsl:text><code> + <xsl:apply-templates select="webpage:*"/> + </code><xsl:text> </xsl:text> + </xsl:template> + <!-- Footnotes --> <!-- Adapted from: http://www.microhowto.info/howto/create_a_list_of_numbered_footnotes_using_xslt.html --> <xsl:template match="webpage:footnote"> |