Added a pre-processor that allows me to add
,gemini=hidden to links I don't want to show up in the gmi document, and
,gemini=extend-to-eol for links I want to extend to the end of the line.
@FiXato I got this working like this:
$ git clone https://git.sr.ht/~fixato/gemini-tools
$ cd gemini-tools/
$ python3 -m venv ~/venv/gemini-tools
$ source ~/venv/gemini-tools/bin/activate
$ python -m pip install -r ./requirements.txt
$ python -m pip install xdg python-slugify md2gemini
.. and it seems to work pretty well! Thanks!
@DuncanLock yeah, that sounds about right :)
Reminds me that I need to add those last two packages to the requirements.txt :)
Sorry I haven't been able to add the latest changes yet though; haven't really had the headspace to code much the past couple of days :/
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!