© Thomas Mailund 2019
T. MailundIntroducing Markdown and Pandochttps://doi.org/10.1007/978-1-4842-5149-2_7

7. Cross-referencing

Thomas Mailund1 
(1)
Aarhus N, Denmark
 

Cross-referencing is not directly supported by standard Markdown. Markdown was mainly invented to write hypertext documents for web pages, so referencing section numbers, figures, or tables is not part of it. We can use the link syntax to make hypertext references to sections but not get section numbers and such.

Pandoc itself doesn’t support extensions for other kinds of cross-referencing, but there is a so-called “filter,” pandoc-crossref, that adds this support. Filters (see Chapter 11) are scripts that are run to modify a document after it has been parsed by Pandoc and before the ...

Get Introducing Markdown and Pandoc: Using Markup Language and Document Converter now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.