aboutsummaryrefslogtreecommitdiffstats
path: root/docs/extensions
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-06-20 06:55:58 -0400
committerWaylan Limberg <waylan@gmail.com>2011-06-20 06:55:58 -0400
commitd19e49dd9a6b9ff4f2668c38857fb67ce926e951 (patch)
tree3512effde5e7913f5f7cb73141bfd6fbaf78ad12 /docs/extensions
parentaf59bf74725937ab2be70fe5de711fa7e4ddfb02 (diff)
parent25e3616e38aba4cd03bbc795169356255a09235e (diff)
downloadmarkdown-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')
-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..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)']
+ ... )