From 75ae1551ef5878c9fbcb966b5b7ee3a226e6a1bd Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Fri, 20 Feb 2015 23:04:44 +0100 Subject: [PATCH] Test rouge. --- _config.yml | 6 +++++- know-how/hacking/_posts/2009-12-19-avm-fritzbox-7270.md | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index 753f8f4..7707ffc 100644 --- a/_config.yml +++ b/_config.yml @@ -11,7 +11,9 @@ markdown: kramdown #markdown: redcarpet markdown_ext: markdown,mkdown,mkdn,mkd,md #permalink: pretty -highlighter: pygments + +# using rouge via kramdown +#highlighter: pygments safe: true lsi: false @@ -32,3 +34,5 @@ redcarpet: kramdown: input: GFM + hard_wrap: false + syntax_highlighter: rouge diff --git a/know-how/hacking/_posts/2009-12-19-avm-fritzbox-7270.md b/know-how/hacking/_posts/2009-12-19-avm-fritzbox-7270.md index 239d34f..aed10ca 100644 --- a/know-how/hacking/_posts/2009-12-19-avm-fritzbox-7270.md +++ b/know-how/hacking/_posts/2009-12-19-avm-fritzbox-7270.md @@ -74,7 +74,7 @@ So first, create a file `static.list` which looks like this (fill in the data of Then you only need this little Python script (and *[Python](http://www.python.org/)*, of course): -{% highlight python %} +~~~ python #!/usr/bin/env python3 # -*- coding: utf-8 -*- @@ -115,7 +115,7 @@ for entry in entries: print( "#### landevices > landevices" ) print( landevs ) -{% endhighlight %} +~~~ Custom DNS ==========