@@ -2767,53 +2767,43 @@ reading web pages formatted using MathJax, for example.
27672767
27682768## Raw HTML/TeX
27692769
2770−The following extensions (especially how they affect Markdown
2771−input/output) are also described in more detail in their respective
2772−sections of [Pandoc's Markdown].
2773−
2774−#### Extension: `raw_html` {#raw_html}
2775−
2776−When converting from HTML, parse elements to raw HTML which are not
2777−representable in pandoc's AST.
2778−By default, this is disabled for HTML input.
2779−
2780−#### Extension: `raw_tex` {#raw_tex}
2781−
2782−Allows raw LaTeX, TeX, and ConTeXt to be included in a document.
2783−
2784−This extension can be enabled/disabled for the following formats
2785−(in addition to `markdown`):
2786−
2787−input formats
2788−: `latex`, `org`, `textile`, `html` (environments, `\ref`, and
2789− `\eqref` only), `ipynb`
2790−
2791−output formats
2792−: `textile`, `commonmark`
2793−
2794−Note: as applied to `ipynb`, `raw_html` and `raw_tex` affect not
2795−only raw TeX in markdown cells, but data with mime type
2796−`text/html` in output cells. Since the `ipynb` reader attempts
2797−to preserve the richest possible outputs when several options
2798−are given, you will get best results if you disable `raw_html`
2799−and `raw_tex` when converting to formats like `docx` which don't
2800−allow raw `html` or `tex`.
2801−
2802−#### Extension: `native_divs` {#native_divs}
2803−
2804−This extension is enabled by default for HTML input. This means that
2805−`div`s are parsed to pandoc native elements. (Alternatively, you
2806−can parse them to raw HTML using `-f html-native_divs+raw_html`.)
2807−
2808−When converting HTML to Markdown, for example, you may want to drop all
2809−`div`s and `span`s:
2810−
2811− pandoc -f html-native_divs-native_spans -t markdown
2812−
2813−#### Extension: `native_spans` {#native_spans}
2814−
2815−Analogous to `native_divs` above.
2816−
2770+The following extensions are described in more detail in
2771+their respective sections of [Pandoc's Markdown]:
2772+
2773+- [`raw_html`](#extension-raw_html) allows HTML elements which
2774+ are not representable in pandoc's AST to be parsed as raw HTML.
2775+ By default, this is disabled for HTML input.
2776+
2777+- [`raw_tex`](#extension-raw_tex) allows raw LaTeX, TeX, and ConTeXt
2778+ to be included in a document. This extension can be enabled/disabled
2779+ for the following formats (in addition to `markdown`):
2780+
2781+ input formats
2782+ : `latex`, `org`, `textile`, `html` (environments, `\ref`, and
2783+ `\eqref` only), `ipynb`
2784+
2785+ output formats
2786+ : `textile`, `commonmark`
2787+
2788+ Note: as applied to `ipynb`, `raw_html` and `raw_tex` affect not
2789+ only raw TeX in markdown cells, but data with mime type
2790+ `text/html` in output cells. Since the `ipynb` reader attempts
2791+ to preserve the richest possible outputs when several options
2792+ are given, you will get best results if you disable `raw_html`
2793+ and `raw_tex` when converting to formats like `docx` which don't
2794+ allow raw `html` or `tex`.
2795+
2796+- [`native_divs`](#extension-native_divs) causes HTML `div`
2797+ elements to be parsed as native pandoc Div blocks.
2798+ If you want them to be parsed as raw HTML, use
2799+ `-f html-native_divs+raw_html`.
2800+
2801+- [`native_spans`](#extension-native_spans) causes HTML `span`
2802+ elements to be parsed as native pandoc Span inlines.
2803+ If you want them to be parsed as raw HTML, use
2804+ `-f html-native_spans+raw_html`. If you want to drop all
2805+ `div`s and `span`s when converting HTML to Markdown, you
2806+ can use `pandoc -f html-native_divs-native_spans -t markdown`.
28172807
28182808## Literate Haskell support
28192809