From 60be999bc36360cabe37a648e6a6b974485b884d Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 4 Sep 2014 19:30:24 +0200 Subject: Extracted formatter functionality into formatter helper stylesheet * functionality for formatting markdown using kramdown and embellishing the result with e.g. syntax highlighting is required for all content types --- utility/formatter.xsl | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++ utility/helper.xsl | 20 -------------- 2 files changed, 74 insertions(+), 20 deletions(-) create mode 100644 utility/formatter.xsl delete mode 100644 utility/helper.xsl (limited to 'utility') diff --git a/utility/formatter.xsl b/utility/formatter.xsl new file mode 100644 index 0000000..2c7f3b9 --- /dev/null +++ b/utility/formatter.xsl @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + highlight --out-format=xhtml --inline-css --style=molokai --fragment --enclose-pre --wrap-simple --syntax= + + + + + + +
+		
+	
+
+ + + + + + + + + + + + + + + + + txt + + + + + + + + + + + + kramdown + + + + + + + +
diff --git a/utility/helper.xsl b/utility/helper.xsl deleted file mode 100644 index 84b6b31..0000000 --- a/utility/helper.xsl +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - -- cgit v1.2.3