document fenced_code_attributes extension

Adds explanation of this extension to the README, using
description provided in 7654db9df1.
This commit is contained in:
Caleb McDaniel 2014-07-12 15:48:54 -05:00
parent 7654db9df1
commit a9f00ee0d6

7
README
View file

@ -1181,6 +1181,8 @@ row of tildes or backticks at the start and end:
~~~~~~~~~~
~~~~~~~~~~~~~~~~
**Extension: `fenced_code_attributes`**
Optionally, you may attach attributes to the code block using
this syntax:
@ -1217,6 +1219,11 @@ This is equivalent to:
qsort [] = []
```
If the `fenced_code_attributes` extension is disabled, but
input contains class attribute(s) for the codeblock, the first
class attribute will be printed after the opening fence as a bare
word.
To prevent all highlighting, use the `--no-highlight` flag.
To set the highlighting style, use `--highlight-style`.