From 71fcf7c296f16e31fe0e75eee08059456c080206 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 10 Aug 2014 13:09:42 +0200 Subject: Switched content formatter to kramdown * implemented language selection for automatic syntax highlighting ** language selection requires the language to be used to be passed as a class of the code element ** kramdown enables easy definition of this class attribute * kramdown offers more functionality such as table and class attribute support * updated all articles accordingly --- source/02_data/articles.xsl | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'source/02_data') diff --git a/source/02_data/articles.xsl b/source/02_data/articles.xsl index 1e672c7..642f417 100644 --- a/source/02_data/articles.xsl +++ b/source/02_data/articles.xsl @@ -24,7 +24,17 @@ - highlight --out-format=xhtml --inline-css --style=molokai --syntax=cpp -f --enclose-pre --wrap-simple + + highlight --out-format=xhtml --inline-css --style=molokai --fragment --enclose-pre --wrap-simple --syntax= + + + + + + txt + + + @@ -51,7 +61,7 @@ - markdown + kramdown -- cgit v1.2.3