git.iko.soy/typeable/pandoc
on master help sign in
document fenced_code_attributes extension

Adds explanation of this extension to the README, using description provided in 7654db9df1b68926371da2a1f23db6df93056f44.

commita9f00ee0d6d0359ae5e7af66f3c36e32e0ae961e authorCaleb McDaniel <caleb.mcdaniel@rice.edu> dateSat 12 Jul 2014, 15:48 (12 years ago) parent7654db9
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