Theological Markup Language to gemtext converter
-rwxr-xr-x
1749
README.md
Theological Markup Language to Gemtext
Parses ThML XML and returns gemtext.
Due to ThML's structure these converted documents have very nice section headings.
This probably contains some bugs.
Usage
```sh examples of how to use this program
Download and convert John Owen's "The Mortification of Sin" into a local gemtext file
curl https://ccel.org/ccel/owen/mort.xml | ./thml2gmi.py /dev/stdin > mort.gmi
Get an outline to a good confession of faith
wget https://ccel.org/anonymous/bcf.xml ./thml2gmi.py bcf.xml | grep '^#'
```
Links
=> LICENSE.gmi Licensed under AGPLv3
=> thml2gmi.py Read the source code
=> https://git.sr.ht/~earboxer/thml2gmi Source code repository