summaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-22 23:38:42 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-23 00:37:13 +0200
commit2b34337a9cf8b025914e8219498b4c0258772be0 (patch)
treea5911ff76ec7867cbe3a2243f4a79ea367926e59 /MANUAL.txt
parent4a6868885d961b0df782c19f70dd725148446633 (diff)
Text.Pandoc.Extensions: Added `Ext_raw_attribute`.
Documented in MANUAL.txt. This is enabled by default in pandoc markdown and multimarkdown.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt27
1 files changed, 24 insertions, 3 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index a75c6fd2a..a4bc7a410 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -3033,9 +3033,6 @@ For the most part this should give the same output as `raw_html`,
but it makes it easier to write pandoc filters to manipulate groups
of inlines.
-Raw TeX
--------
-
#### Extension: `raw_tex` ####
In addition to raw HTML, pandoc allows raw LaTeX, TeX, and ConTeXt to be
@@ -3060,6 +3057,30 @@ LaTeX, not as Markdown.
Inline LaTeX is ignored in output formats other than Markdown, LaTeX,
Emacs Org mode, and ConTeXt.
+### Generic raw attribute ###
+
+#### Extension: `raw_attribute` ####
+
+Inline spans and fenced code blocks with a special
+kind of attribute will be parsed as raw content with the
+designated format. For example, the following produces a raw
+groff `ms` block:
+
+ ```{=ms}
+ .MYMACRO
+ blah blah
+ ```
+And the following produces a raw `html` inline element:
+
+ This is `<a>html</a>`{=html}
+
+This extension presupposes that the relevant kind of
+inline code or fenced code block is enabled. Thus, for
+example, to use a raw attribute with a backtick code block,
+`backtick_code_blocks` must be enabled.
+
+The raw attribute cannot be combined with regular attributes.
+
LaTeX macros
------------