There is a need in text editions to go beyond vanilla Markdown. Below the text edition specific extensions that characterize BPT are listed.
See the section on references
author_year
format (acting as citekey)![foo](/url "title")
which results in HTML <img src="/url" alt="foo" title="title" />
<=.ill_FILENAME DESCRIPTION =>
. For example:![](01-00.jpg)
<=.ill_01-00.jpg Around 1750 Samuel Luchtmans I commissioned this allegorical mantelpiece painting from the artist Nicolaas Reyers. For many years it decorated the home of the Luchtmans family on the Rapenburg, and it now hangs in the offices of Brill. The painting shows Pallas Athena with her shield and lance, accompanied by Hermes with his winged helmet and herald’s staff. In the foreground three naked little boys are playing with prints depicting periwigged gentlemen, presumably Leiden professors.
~|ἄνδρα μοι ἔννεπε, μοῦσα|~grc-Grek
See Markdown TOC by Jon Schlinkert.
Tables are plain markdown.
We use this CommonMark extension to add captions to tables.
| First Header | Second Header | Third Header |
| :------------ | :-----------: | -------------------: |
| First row | Data | Very long data entry |
| Second row | **Cell** | *Cell* |
| Third row | Cell that spans across two columns ||
[Table caption, works as a reference][section-mmd-tables-table1] | |
~|הלך אבא לעבודה|~rtl
~|~|הלך אבא לעבודה|~he-Hebr|~rtl
It probably makes sense to indicate the base directionality and lang-script combination in a comment at the top of a work, i.e between <!-- -->
, and to indicate in the text itself only the exceptions. This prevents redundant markup.
In the bpt+2tei.py, we’ll include rules like: