Theological Markup Language to gemtext converter
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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