~earboxer/thml2gmi

Convert Theological Markup Language to Gemtext
docs: add readme which serves as gemtext index
Improve parsing of lists, inline notes
Argument and italic Paragraphs: Parse as blockquote

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~earboxer/thml2gmi
read/write
git@git.sr.ht:~earboxer/thml2gmi

You can also use your local clone with git send-email.

#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

# 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 '^#'

=> LICENSE.gmi Licensed under AGPLv3

=> thml2gmi.py Read the source code

=> https://git.sr.ht/~earboxer/thml2gmi Source code repository