From e3e9e7aa9663046a31cd2d83acffd74c71273782 Mon Sep 17 00:00:00 2001 From: Matt Jesson Date: Mon, 28 Apr 2014 13:46:47 +0100 Subject: [PATCH] Fix #947 Pygments source highlighting now works with AsciiDoc. The default backend is now "html5" (if not explicitly set in ASCIIDOC_OPTIONS). --- .../article_using_pygments_source_highlighter.asc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pelican/tests/content/article_using_pygments_source_highlighter.asc diff --git a/pelican/tests/content/article_using_pygments_source_highlighter.asc b/pelican/tests/content/article_using_pygments_source_highlighter.asc new file mode 100644 index 00000000..b680310c --- /dev/null +++ b/pelican/tests/content/article_using_pygments_source_highlighter.asc @@ -0,0 +1,13 @@ +Test AsciiDoc Syntax Highlight Test +=================================== +:source-highlighter: pygments + +Pelican Pygments Test +--------------------- + +[source,python] +---- +# Source highlighter test +for i in range(10): + print("Hello world.") +----