Mention raw_attribute in documentation for raw_html and raw_tex.

Thanks to @eiro.  Closes #5240.
This commit is contained in:
John MacFarlane 2019-01-21 20:40:59 -08:00
parent 11810edb2f
commit 847ff4f83d

View file

@ -3406,6 +3406,9 @@ The raw HTML is passed through unchanged in HTML, S5, Slidy, Slideous,
DZSlides, EPUB, Markdown, CommonMark, Emacs Org mode, and Textile DZSlides, EPUB, Markdown, CommonMark, Emacs Org mode, and Textile
output, and suppressed in other formats. output, and suppressed in other formats.
For a more explicit way of including raw HTML in a Markdown
document, see the [`raw_attribute` extension][Extension: `raw_attribute`].
In the CommonMark format, if `raw_html` is enabled, superscripts, In the CommonMark format, if `raw_html` is enabled, superscripts,
subscripts, strikeouts and small capitals will be represented as HTML. subscripts, strikeouts and small capitals will be represented as HTML.
Otherwise, plain-text fallbacks will be used. Note that even if Otherwise, plain-text fallbacks will be used. Note that even if
@ -3485,6 +3488,10 @@ Note that in LaTeX environments, like
the material between the begin and end tags will be interpreted as raw the material between the begin and end tags will be interpreted as raw
LaTeX, not as Markdown. LaTeX, not as Markdown.
For a more explicit and flexible way of including raw TeX in a
Markdown document, see the [`raw_attribute`
extension][Extension: `raw_attribute`].
Inline LaTeX is ignored in output formats other than Markdown, LaTeX, Inline LaTeX is ignored in output formats other than Markdown, LaTeX,
Emacs Org mode, and ConTeXt. Emacs Org mode, and ConTeXt.