diff options
author | A. Jesse Jiryu Davis <jesse@10gen.com> | 2014-01-07 12:57:05 -0500 |
---|---|---|
committer | A. Jesse Jiryu Davis <jesse@10gen.com> | 2014-01-07 12:57:05 -0500 |
commit | f6b4f7c74dc4215847008cb8a59c03e63b9268e0 (patch) | |
tree | 7ebf868470de318c1cfacf53a83647b025a877d2 /docs/extensions/code_hilite.txt | |
parent | 1fca2a3b2d65bc013e22f7c00c503ea7cea7f72d (diff) | |
download | markdown-f6b4f7c74dc4215847008cb8a59c03e63b9268e0.tar.gz markdown-f6b4f7c74dc4215847008cb8a59c03e63b9268e0.tar.bz2 markdown-f6b4f7c74dc4215847008cb8a59c03e63b9268e0.zip |
Document hl_lines feature for fenced_code and codehilite extensions.
Diffstat (limited to 'docs/extensions/code_hilite.txt')
-rw-r--r-- | docs/extensions/code_hilite.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/extensions/code_hilite.txt b/docs/extensions/code_hilite.txt index ab09742..92f60f8 100644 --- a/docs/extensions/code_hilite.txt +++ b/docs/extensions/code_hilite.txt @@ -91,6 +91,17 @@ block contains and each one has a different result. # Code goes here ... + Certain lines can be selected for emphasis with the colon syntax. By + default, emphasized lines have a yellow background. This is useful to + direct the reader's attention. + + :::python hl_lines="1 3" + # This line is emphasized + # This line isn't + # This line is emphasized + + (`hl_lines` is named for Pygments' "highlighted lines" option.) + * ###When No Language is Defined CodeHilite is completely backward compatible so that if a code block is |