aboutsummaryrefslogtreecommitdiffstats
path: root/docs/extensions/CodeHilite.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/extensions/CodeHilite.txt')
-rw-r--r--docs/extensions/CodeHilite.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/extensions/CodeHilite.txt b/docs/extensions/CodeHilite.txt
index 482ad60..68288c8 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=True)']
+ ... )