git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #1418 from wcaleb/document_code_attr_ext

document fenced_code_attributes extension

commit0756616241081c6f902a78c2e451be1c9b9173de authorJohn MacFarlane <jgm@berkeley.edu> dateSat 12 Jul 2014, 14:04 (12 years ago) parent7654db9a9f00ee
1 file changed+7
README+7
README+7
@@ -1181,6 +1181,8 @@ row of tildes or backticks at the start and end:
11811181 ~~~~~~~~~~
11821182 ~~~~~~~~~~~~~~~~
11831183
1184+**Extension: `fenced_code_attributes`**
1185+
11841186Optionally, you may attach attributes to the code block using
11851187this syntax:
11861188
@@ -1217,6 +1219,11 @@ This is equivalent to:
12171219 qsort [] = []
12181220 ```
12191221
1222+If the `fenced_code_attributes` extension is disabled, but
1223+input contains class attribute(s) for the codeblock, the first
1224+class attribute will be printed after the opening fence as a bare
1225+word.
1226+
12201227To prevent all highlighting, use the `--no-highlight` flag.
12211228To set the highlighting style, use `--highlight-style`.
12221229