Publ: TOC with postprocessing

Last updated:
Source file: tests/content/toc/postprocessing.md
Preamble1

Preamble1

This TOC needs postprocessing2.

Smartypants stuff

A “smartquotes” heading

This heading has “smartquotes.”

Em-dashes – not just for fun — perhaps

This heading has an en-dash – and maybe an em-dash — yes

Fractions like ½ and ¼ are silly

They are.

Image stuff

Inline rawr?

Nope

rawr.jpg Markdown rawr?

Nope

Nope

Nope

Formatting

Emphasis and strong

Should be allowed.

em b sup sub strong i

Should be allowed.

Superscripts

I’ll allow it.

Footnotes3

Makes no sense in the ToC, but the Markdown renderer knows to filter it out.

Code, e.g. code

This is also supported and sensible.

Math? \(d\frac{e^x}{dx} = e^x\)

I mean, this isn’t actually HTML so that’s up to MathJax…

Footnotes

  1. This footnote shouldn’t appear in the ToC but should be accounted for. back

  2. This footnote should also be accounted for. back

  3. This makes no sense in the ToC, but does in the text back