Skip to main content

Preprocessing

  • Chapter
  • First Online:
Introducing Markdown and Pandoc

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).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://logological.org/gpp

  2. 2.

    https://www.python.org

  3. 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

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Thomas Mailund

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics