Pre-process

The following options affect only the render and export commands.

--extract-tags

Extract #tags from annotation.notes.

All matches are removed from annotation.notes and placed into annotation.tags. Additionally, all #tags within a book are compiled and placed them into book.tags.

Tags must start with a hash symbol # followed by a letter [a-zA-Z].

--normalize-whitespace

Normalize whitespace in annotation.body.

Trims whitespace and replaces all line-breaks with two consecutive line-breaks: \n\n.

--ascii-all

Convert all Unicode characters to ASCII.

All Unicode characters found in book.title, book.author and annotation.body are converted to ASCII.

--ascii-symbols

Convert "smart" Unicode symbols to ASCII.

"Smart" Unicode symbols found in book.title, book.author and annotation.body are converted to ASCII.

CharacterUnicodeUnicode NumberASCII
Left Single Quotation MarkU+2018'
Right Single Quotation MarkU+2019'
Left Double Quotation MarkU+201C"
Right Double Quotation MarkU+201D"
Right-Pointing Double Angle Quotation Mark»U+00BB<<
Left-Pointing Double Angle Quotation Mark«U+00AB>>
Horizontal EllipsisU+2026...
En DashU+2013--
Em DashU+2014---

Characters and transliterations taken from: