diff options
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)'] + ... ) |