cumd
Church Slavonic dialect of Markdown
Markup
- Use
=
symbol to mark red spans, for example:=Слава и ныне=
- Use
+
to mark expanded font:+Священник глаголет:+
- Use leading tilda to mark first letter of a word red:
~Христос рождается
- For pagebreak anchors use
<<5: л. 3 об.>>
or simply<<5>>
when label is the same as the page number - Use leading curcumflex symbol to mark bukvitsa:
^Вначале было Слово
- For verse numbering use
((и))
- For footnote use
[[footnote text]]
(Attention: this is likely to change)
This package provides two commands:
cumd
- renders markdown into htmlcuxml
- converts Ponomar XML into markdown
cumd
usage: cumd.py [-h] [--html] [--extension [EXTENSION [EXTENSION ...]]]
input output
Converts CU markdown to HTML (version X.Y.Z)
positional arguments:
input File name of the input *.md file
output File name of the output *.html file
optional arguments:
-h, --help show this help message and exit
--html Set to generate viewable HTML
--extension [EXTENSION [EXTENSION ...]], -e [EXTENSION [EXTENSION ...]]
Extension to enable (allows multiple -e flags). For
example -e footnotes
cuxml
usage: cuxml [-h] input output
Converts XML to cu-flavored markdown
positional arguments:
input input XML file
output output Markdown file
optional arguments:
-h, --help show this help message and exit