Skip to content

Commit 56f17bc

Browse files
colorize syntax block
1 parent f666dda commit 56f17bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/help_tools/resources/nelson_html.xslt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,12 @@
245245
<div class="section-title">
246246
<span class="syntax-icon">📝</span> <xsl:value-of select="$syntax-text"/>
247247
</div>
248-
<pre class="syntax-block">
248+
<pre class="syntax-block"><code class="language-matlab">
249249
<xsl:for-each select="syntax/syntax_item">
250250
<xsl:value-of select="."/><xsl:text>
251251
</xsl:text>
252252
</xsl:for-each>
253-
</pre>
253+
</code></pre>
254254
</div>
255255
</xsl:if>
256256

0 commit comments

Comments
 (0)