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
.
Tags must start with a hash symbol
#
followed by a letter[a-zA-Z]
and then a series of any characters. A tag ends when a space or another#
is encountered.
--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.
Character | Unicode | Unicode Number | ASCII |
---|---|---|---|
Left Single Quotation Mark | ‘ | U+2018 | ' |
Right Single Quotation Mark | ’ | U+2019 | ' |
Left Double Quotation Mark | “ | U+201C | " |
Right Double Quotation Mark | ” | U+201D | " |
Right-Pointing Double Angle Quotation Mark | » | U+00BB | << |
Left-Pointing Double Angle Quotation Mark | « | U+00AB | >> |
Horizontal Ellipsis | … | U+2026 | ... |
En Dash | – | U+2013 | -- |
Em Dash | — | U+2014 | --- |
Characters and transliterations taken from: