From 2ca79e96c4a2791cdce93f95225a3b7fd0176f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 21 Jul 2016 16:14:22 +0200 Subject: Add syntax hilight to markdown --- build_readme.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 build_readme.py (limited to 'build_readme.py') diff --git a/build_readme.py b/build_readme.py new file mode 100644 index 0000000..36df8a1 --- /dev/null +++ b/build_readme.py @@ -0,0 +1,10 @@ +import markdown + +html = markdown.markdownFromFile( + input="documentation_fr.md", + extensions=['markdown.extensions.codehilite'], + extension_configs={ + 'markdown.extensions.codehilite': { + 'noclasses': True, + } + }) -- cgit v1.2.3