Metadata-Version: 2.1
Name: leidenmark
Version: 0.1.1
Summary: A markdown extension for converting Leiden+ epigraphic text to TEI XML/HTML
Home-page: https://github.com/andredelft/leidenmark
Author: André van Delft
Author-email: andrevandelft@outlook.com
License: UNKNOWN
Description: # LeidenMark
        
        ```shell
        $ pip install leidenmark
        ```
        
        A Python Markdown extension for converting Leiden+ epigraphic text to TEI XML/HTML. Inspired by the Brill plain text (BPT) format that aims to incorporate Leiden+ into a Markdown-based syntax.
        
        ```python
        >>> from markdown import markdown
        >>> from leidenmark import LeidenPlus
        >>> content = """\
        <D=.r<=
        1. Lorem ipsum dolor
        2. sit amet, con[ca.3]c
        3.-etur adipiscing
        =>=D>
        <D=.v<=
        lost.2lin
        6. ut labore et dol
        7.-ore magna aliqua
        =>=D>"""
        >>> markdown(content, extensions = [LeidenPlus()])
        ```
        
        The output of the above lines is the following XML snippet (manually indented):
        
        ```xml
        <div n="r" type="textpart">
          <ab>
            <l n="1">Lorem ipsum dolor</l>
            <l n="2">sit amet, con<gap precision="low" quantity="3" unit="character"></gap>c</l>
            <l break="no" n="3">etur adipiscing</l>
          </ab>
        </div>
        <div n="v" type="textpart">
          <ab>
            <gap quantity="2" unit="line"></gap>
            <l n="6">ut labore et dol</l>
            <l break="no" n="7">ore magna aliqua</l>
          </ab>
        </div>
        ```
        
Keywords: Leiden+ Markdown TEI XML HTML
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6
Description-Content-Type: text/markdown
