diff options
author | Waylan Limberg <waylan@gmail.com> | 2011-06-20 06:55:58 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2011-06-20 06:55:58 -0400 |
commit | d19e49dd9a6b9ff4f2668c38857fb67ce926e951 (patch) | |
tree | 3512effde5e7913f5f7cb73141bfd6fbaf78ad12 /docs/extensions/CodeHilite.txt | |
parent | af59bf74725937ab2be70fe5de711fa7e4ddfb02 (diff) | |
parent | 25e3616e38aba4cd03bbc795169356255a09235e (diff) | |
download | markdown-d19e49dd9a6b9ff4f2668c38857fb67ce926e951.tar.gz markdown-d19e49dd9a6b9ff4f2668c38857fb67ce926e951.tar.bz2 markdown-d19e49dd9a6b9ff4f2668c38857fb67ce926e951.zip |
Merge branch 'master' of https://github.com/waylan/Python-Markdown
Diffstat (limited to 'docs/extensions/CodeHilite.txt')
-rw-r--r-- | docs/extensions/CodeHilite.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/extensions/CodeHilite.txt b/docs/extensions/CodeHilite.txt index 482ad60..74282f6 100644 --- a/docs/extensions/CodeHilite.txt +++ b/docs/extensions/CodeHilite.txt @@ -111,3 +111,10 @@ to do so. >>> html = markdown.markdown(text, ... ['codehilite(force_linenos=True)'] ... ) + +If you want to prevent Pygments from guessing the language, only highlighting +blocks when you explicitly request it, set the `guess_lang` setting to 'False'. + + >>> html = markdown.markdown(text, + ... ['codehilite(guess_lang=False)'] + ... ) |