Abstract
Markdown is just a plain text document, and you can do any rewriting of that text before you pass it through Pandoc. Any rewriting of the text before you give it to Pandoc is called preprocessing. Pandoc will read from standard input, so we can pipe the result of preprocessing into it on the command line (see Figure 2-1).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
In this book, whenever I present Python code, I assume that you use Python 3. If not, you need to adjust the code accordingly.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Thomas Mailund
About this chapter
Cite this chapter
Mailund, T. (2019). Preprocessing. In: Introducing Markdown and Pandoc. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5149-2_10
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5149-2_10
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5148-5
Online ISBN: 978-1-4842-5149-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books