diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-06-28 06:37:03 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-06-28 06:37:03 -0400 |
commit | 3aad1dd72fa5d56c735688d91c4589531044ba02 (patch) | |
tree | fbdcd75119f7b39af931959b32bb91ada5a73524 | |
parent | 7cc5ad34b065febe7536530b8cdae4602d34a080 (diff) | |
download | markdown-3aad1dd72fa5d56c735688d91c4589531044ba02.tar.gz markdown-3aad1dd72fa5d56c735688d91c4589531044ba02.tar.bz2 markdown-3aad1dd72fa5d56c735688d91c4589531044ba02.zip |
Fixed #110. Documented the 'fenced_code' extension's support for the 'codehilite' extension.
-rw-r--r-- | docs/extensions/fenced_code_blocks.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/extensions/fenced_code_blocks.txt b/docs/extensions/fenced_code_blocks.txt index 0aa0d34..c54c5bd 100644 --- a/docs/extensions/fenced_code_blocks.txt +++ b/docs/extensions/fenced_code_blocks.txt @@ -58,6 +58,14 @@ The above will output: <pre><code class="html"><p>HTML Document</p> </code></pre> +[Github][]'s tilde (`\``) syntax is also supported: + + ```python + # more python code + ``` + +[Github]: http://github.github.com/github-flavored-markdown/ + Usage ----- @@ -65,5 +73,10 @@ From the Python interpreter: >>> html = markdown.markdown(text, ['fenced_code']) +If you would like to have your fenced code blocks highlighted with the +[CodeHilite][] extension, simply include that extension and the language +of your fenced code blocks will be passed in and highlighted appropriately. + >>> html = markdown.markdown(text, ['fenced_code', 'codehilite']) +[CodeHilite]: code_hilite.html |