Pandoc, Markup language that solves most of the Markdown restrictions:
1.) Markup language, huh?
2.) Markdown origins and why should you care
3.) What is really Pandoc
4.) Pandoc vs. the rest of the world
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Pandoc
1. Pandoc
Markup language that solves most of the Markdown
restrictions
14 April 2015
Martin Škurla, PSEC, Equities IT
2. 2 | Pandoc | 14 April 2015
Markup language, huh?
• “A markup language is a system for annotating a document in a way that is
syntactically distinguishable from the text.”
Merriam-Webster dictionary
Presentational markup
– binary code embedded within documents
– e.g. WYSIWYG editors
Procedural markup
– embedded in text and provides instructions on how to process the text
– e.g. LaTeX, PostScript, HTML
Descriptive markup
– labels the document rather than providing specific processing instructions
– e.g. HTML, Pandoc
3. 3 | Pandoc | 14 April 2015
Markdown origins and why should you care
• “Markdown is a text-to-HTML conversion tool for web writers. Markdown
allows you to write using an easy-to-read, easy-to-write plain text format,
then convert it to structurally valid XHTML (or HTML).”
John Gruber, Markdown author
Why you should care?
– documents,
– presentations,
– books
4. 4 | Pandoc | 14 April 2015
What is really Pandoc
1. Markup language
– similar to Markdown and inspired by many other ML
2. Processing tool
– able to produce various formats
– e.g. HTML, Word processor formats, Ebooks, Documentation formats, Page
layout formats, Outline formats, TeX formats, PDF, Lightweight markup formats,
Custom formats
3. Transformation library
– to other markup languages
– e.g. markdown, reStructuredText, textile, HTML, DocBook, LaTeX, Media Wiki
markup, TWiki markup, OPML, Emacs Org-Mode, Txt2Tags, Microsoft Word
docx, EPUB, Haddock markup
5. 5 | Pandoc | 14 April 2015
Markdown vs. the rest of the world
6. 6 | Pandoc | 14 April 2015
Examples
• JSON Processing workshop samples
• Git book - http://git-scm.com/book/en/v2