mirror of
https://github.com/moparisthebest/xeps
synced 2025-02-07 02:40:22 -05:00
Syntax highlighting
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3586 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
cd4a5cc7fe
commit
aa28286994
6
xep.xsl
6
xep.xsl
@ -41,7 +41,9 @@ OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
<head>
|
||||
<title>XEP-<xsl:value-of select='/xep/header/number'/>:<xsl:text> </xsl:text><xsl:value-of select='/xep/header/title' /></title>
|
||||
<link rel='stylesheet' type='text/css' href='../xmpp.css' />
|
||||
<link href="../prettify.css" type="text/css" rel="stylesheet" />
|
||||
<link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />
|
||||
<script type="text/javascript" src="../prettify.js"></script>
|
||||
<!-- BEGIN META TAGS FOR DUBLIN CORE -->
|
||||
<meta>
|
||||
<xsl:attribute name='name'><xsl:text>DC.Title</xsl:text></xsl:attribute>
|
||||
@ -86,7 +88,7 @@ OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
</meta>
|
||||
<!-- END META TAGS FOR DUBLIN CORE -->
|
||||
</head>
|
||||
<body>
|
||||
<body onload="prettyPrint()">
|
||||
<!-- TITLE -->
|
||||
<h1>XEP-<xsl:value-of select='/xep/header/number' />:<xsl:text> </xsl:text><xsl:value-of select='/xep/header/title' /></h1>
|
||||
<!-- TOP TABLE -->
|
||||
@ -860,7 +862,7 @@ OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
<xsl:template match='code'>
|
||||
<p class='caption'><xsl:value-of select='@caption'/></p>
|
||||
<div class='indent'>
|
||||
<pre><xsl:apply-templates/></pre>
|
||||
<pre class='prettyprint'><xsl:apply-templates/></pre>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user