💾 Archived View for bbs.geminispace.org › s › Lagrange › 12049 captured on 2023-12-28 at 16:02:45. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
(Apologies in advance for being took lazy to scan Lagrange documentation, and for likely using clunky terminology in what follows.)
Does Lagrange support adding something akin to a plugin that Lagrange would pass the gemtext about to be displayed, but then *instead* render the gemtext modified/output/passed back by the plugin?
I ask, because I played a bit with a simple "detect bad links" idea, which at the moment is this Lua script:
#! /usr/bin/env lua for line in io.stdin:lines() do local url,title = string.match(line, '^=>%s*(%S*)%s*(.*)