Bug#1010234: RFP: python-trimgmi -- Opinionated parsing of gemtext.
Package: wnpp
Severity: wishlist
* Package name : python-trimgmi
Version : 0.3.0
Upstream Author : David Seaward <david@librem.one>
* URL : https://gitlab.com/lofidevops/trimgmi
* License : GPL-3.0-or-later
Programming Lang: Python
Description : Opinionated parsing of gemtext.
Gemtext (GMI) is a lightweight, line-oriented markup language designed for the Gemini internet protocol. This module parses gemtext, ignoring extraneous whitespace. Text after closing ``` marks is also ignored.
The resulting objects can be rendered line-by-line without further parsing logic.
Also included are:
* round-trip render back to GMI with minimal whitespace
* simple render to CommonMark
* opinionated render to HTML
* primitive command line tools for the above
Once installed Python modules should be able to "import trimgmi". Users should also be able to invoke "trimgmi" and "convertgmi" from the command line.
Reply to: