Gemini and Gemtext integration #2309
Replies: 1 comment
-
I'm not too sure how you could build that. I imagine it would have a lot of edge cases around using LiquidJS tags or shortcodes/filters in your .md files. One approach I was thinking of is you could try creating a transform or something that would convert from .html to gemini, but you might need to do some complex DOM parsing since the transforms run really late in the pipeline when all the content has been processed (so the layouts would have all been applied). So you might need to then just extract all rendered HTML content in some arbitrary Another possible approach that came to mind was having all your content in .md files, then creating some special collection which converts the .md content to .gmi files and then use pagination to loop over the files and make sure they get written without a layout applied. |
Beta Was this translation helpful? Give feedback.
-
It would be awesome if it could be created a plugin that generates a website accessible from the Gemini protocol, by generating
.gmi
files in Gemtext, that the user can manage to deploy in parallel with the “standard” website. md2gemini might be an interesting starting point.Beta Was this translation helpful? Give feedback.
All reactions