git.iko.soy/typeable/pandoc
on master help sign in
document fenced_code_attributes extension
a9f00eeCaleb McDaniel
@@ -1181,6 +1181,8 @@ row of tildes or backticks at the start and end:
1181 ~~~~~~~~~~
1181 ~~~~~~~~~~
1182 ~~~~~~~~~~~~~~~~
1182 ~~~~~~~~~~~~~~~~
1183
1183
1184+**Extension: `fenced_code_attributes`**
1185+
1184Optionally, you may attach attributes to the code block using
1186Optionally, you may attach attributes to the code block using
1185this syntax:
1187this syntax:
1186
1188
@@ -1217,6 +1219,11 @@ This is equivalent to:
1217 qsort [] = []
1219 qsort [] = []
1218 ```
1220 ```
1219
1221
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+
1220To prevent all highlighting, use the `--no-highlight` flag.
1227To prevent all highlighting, use the `--no-highlight` flag.
1221To set the highlighting style, use `--highlight-style`.
1228To set the highlighting style, use `--highlight-style`.
1222
1229