Church Slavonic Markdown Dialect
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cumd fixes May 7, 2018
.gitignore initial commit May 6, 2018
LICENSE Initial commit May 6, 2018
README.md
requirements.txt initial commit May 6, 2018
setup.cfg works! May 6, 2018
setup.py works! May 6, 2018

README.md

cumd

Church Slavonic dialect of Markdown

Markup

  1. Use star symbol to mark red spans, for example: *Слава и ныне*
  2. Use double underscore to mark expanded font: __Священник глаголет:__
  3. Use leading tilda to mark first letter of a word red: ~Христос рождается
  4. For pagebreak anchors use <<5: л. 3 об.>> or simply <<5>> when label is the same as the page number
  5. Use leading curcumflex symbol to mark bukvitsa: ^Вначале было Слово
  6. For verse numbering use ((и))
  7. For footnote use [[footnote text]] (Attention: this is likely to change)

This package provides two commands:

  • cumd - renders markdown into html
  • cuxml - converts Ponomar XML into markdown

cumd

usage: cumd [-h] [--html] input output

Converts CU markdown to HTML

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

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