mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix #947
Pygments source highlighting now works with AsciiDoc. The default backend is now "html5" (if not explicitly set in ASCIIDOC_OPTIONS).
This commit is contained in:
parent
b4f6df2fb6
commit
e3e9e7aa96
1 changed files with 13 additions and 0 deletions
|
|
@ -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.")
|
||||
----
|
||||
Loading…
Add table
Add a link
Reference in a new issue