summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorNikolay Yakimov <root@livid.pp.ru>2015-05-07 17:22:02 +0300
committerNikolay Yakimov <root@livid.pp.ru>2015-05-07 17:22:02 +0300
commitc5724eaffbebf26eab3273544faced30723c5d52 (patch)
tree27e01aa9e25840227e961519a2763e5b2cd5699c /README
parent472c1424ba425e2df9fa494f343e91c5fe71087e (diff)
README: Add documentation on backtick_code_blocks
Closes #2135
Diffstat (limited to 'README')
-rw-r--r--README17
1 files changed, 11 insertions, 6 deletions
diff --git a/README b/README
index de7a0202c..fa93bf8e5 100644
--- a/README
+++ b/README
@@ -1337,9 +1337,9 @@ Note: blank lines in the verbatim text need not begin with four spaces.
In addition to standard indented code blocks, Pandoc supports
*fenced* code blocks. These begin with a row of three or more
-tildes (`~`) or backticks (`` ` ``) and end with a row of tildes or
-backticks that must be at least as long as the starting row. Everything
-between these lines is treated as code. No indentation is necessary:
+tildes (`~`) and end with a row of tildes that must be at least as long as
+the starting row. Everything between these lines is treated as code. No
+indentation is necessary:
~~~~~~~
if (a > 3) {
@@ -1359,9 +1359,14 @@ row of tildes or backticks at the start and end:
~~~~~~~~~~
~~~~~~~~~~~~~~~~
+#### Extension: `backtick_code_blocks` ####
+
+Same as `fenced_code_blocks`, but uses backticks (`` ` ``) instead of tildes
+(`~`).
+
#### Extension: `fenced_code_attributes` ####
-Optionally, you may attach attributes to the code block using
+Optionally, you may attach attributes to fenced or backtick code block using
this syntax:
~~~~ {#mycode .haskell .numberLines startFrom="100"}
@@ -2690,8 +2695,8 @@ can produce `.json` and `.yaml` files from any of the supported formats.
In-field markup: In bibtex and biblatex databases, pandoc-citeproc parses
(a subset of) LaTeX markup; in CSL JSON databases, an HTML-like markup
-([specs](http://docs.citationstyles.org/en/1.0/release-notes.html#rich-text-markup-within-fields));
-and in CSL YAML databases, pandoc markdown. `pandoc-citeproc -j` and `-y`
+([specs](http://docs.citationstyles.org/en/1.0/release-notes.html#rich-text-markup-within-fields));
+and in CSL YAML databases, pandoc markdown. `pandoc-citeproc -j` and `-y`
interconvert these markup formats as far as possible.
As an alternative to specifying a bibliography file, you can include