mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 02:43:58 +00:00
Handle \code ... \endcode blocks
[SVN r20318]
This commit is contained in:
parent
3d7beff32d
commit
0d101f6515
@ -1128,4 +1128,19 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Handle program listings -->
|
||||
<xsl:template match="programlisting" mode="passthrough">
|
||||
<programlisting>
|
||||
<xsl:apply-templates mode="programlisting"/>
|
||||
</programlisting>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="highlight|sp" mode="programlisting">
|
||||
<xsl:apply-templates mode="programlisting"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="*" mode="programlisting">
|
||||
<xsl:apply-templates select="." mode="passthrough"/>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
Loading…
x
Reference in New Issue
Block a user