Skip to main content

Church Slavonic extensions to Markdown

Project description

cumd

Church Slavonic dialect of Markdown

Markup

  1. Use = symbol to mark red spans, for example: =Слава и ныне=
  2. Use + 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] [--simplified] [--extensions EXTENSIONS] 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

options:
  -h, --help            show this help message and exit
  --html                Set to generate viewable HTML
  --simplified, -s      Set to generate HTML without custom tags
  --extensions EXTENSIONS, -e EXTENSIONS
                        List of comma-separated extensions to enable. For example -e footnotes,math

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cumd-1.6.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file cumd-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: cumd-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for cumd-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3669b695be7af9fb6b211f5eee19b6b33f6648de388b19bcb6710dc25ac1469
MD5 aa120c838cb16ea71114a0f50a49a8e9
BLAKE2b-256 77665a717712f0d76997e82f55db3667bd6b6f100e67412205c42b9869df8006

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page