aboutsummaryrefslogtreecommitdiff
path: root/source/02_data
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-09 18:44:57 +0200
committerAdrian Kummerlaender2014-08-09 18:44:57 +0200
commit1232de16d63bc16ba84999018ff5b468c7b878ba (patch)
treec915b9cb03bff631210e32ba10d641589bfdfa69 /source/02_data
parent19f8ba68c9e95a5d702bb2f42e21715cf8e05f9d (diff)
downloadblog.kummerlaender.eu-1232de16d63bc16ba84999018ff5b468c7b878ba.tar
blog.kummerlaender.eu-1232de16d63bc16ba84999018ff5b468c7b878ba.tar.gz
blog.kummerlaender.eu-1232de16d63bc16ba84999018ff5b468c7b878ba.tar.bz2
blog.kummerlaender.eu-1232de16d63bc16ba84999018ff5b468c7b878ba.tar.lz
blog.kummerlaender.eu-1232de16d63bc16ba84999018ff5b468c7b878ba.tar.xz
blog.kummerlaender.eu-1232de16d63bc16ba84999018ff5b468c7b878ba.tar.zst
blog.kummerlaender.eu-1232de16d63bc16ba84999018ff5b468c7b878ba.zip
Updated external text formatter commands
* directly pass the executable including its arguments ** the "highlight.sh" proxy script is no longer required * this was made possible by a recent commit to InputXSLT
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>