aboutsummaryrefslogtreecommitdiff
path: root/source/02_data
diff options
context:
space:
mode:
Diffstat (limited to 'source/02_data')
-rw-r--r--source/02_data/articles.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/02_data/articles.xsl b/source/02_data/articles.xsl
index de8fc62..1e672c7 100644
--- a/source/02_data/articles.xsl
+++ b/source/02_data/articles.xsl
@@ -24,7 +24,7 @@
<xsl:template match="pre" mode="embellish">
<xsl:variable name="formatted_code">
<xsl:call-template name="formatter">
- <xsl:with-param name="format">/usr/bin/highlight.sh</xsl:with-param>
+ <xsl:with-param name="format">highlight --out-format=xhtml --inline-css --style=molokai --syntax=cpp -f --enclose-pre --wrap-simple</xsl:with-param>
<xsl:with-param name="source" select="code/text()"/>
</xsl:call-template>
</xsl:variable>
@@ -51,7 +51,7 @@
<xsl:template match="files/articles/file[./extension = '.md']">
<xsl:variable name="content">
<xsl:call-template name="formatter">
- <xsl:with-param name="format">/usr/bin/markdown</xsl:with-param>
+ <xsl:with-param name="format">markdown</xsl:with-param>
<xsl:with-param name="source" select="InputXSLT:read-file(./full)/text()"/>
</xsl:call-template>
</xsl:variable>