💾 Archived View for rawtext.club › ~sloum › geminilist › 000351.gmi captured on 2020-09-24 at 02:37:56. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Sean Conner sean at conman.org
Sat Jan 18 03:47:21 GMT 2020
- - - - - - - - - - - - - - - - - - - ``` It was thus said that the Great solderpunk once stated: > > Feedback on the below very welcome! Okay, I went ahead and implemented some of this spec. I didn't botherwith the list stuff as that has to be clarified. But the rest I did, and sofar, the implementation wasn't *too* bad---about 50 lines, but I'm using alibrary to wrap text which may or may not exist in other languages. Anyway, you guys can test out a server rendered version at various widths(you can even specify the width) at: gemini://gemini.conman.org/test/testreflow.gemini Some notes---the link section may or may not be how clients renderlinks---since the output is pure text, I decided to just make them lookdistinct. Also, that large block of text (with the header "Very long lines,one after the other") I might change (add a blank line that doesn't exist)but that would complicate the implementation (in case there *is* a blankline in the input), so I'm still thinking on that one. But in any case, here's a sample implementation (the link to the code isin the page mentioned above) that I'm presenting for your bikesheddingexcitement. -spc (Remember---I haven't implemented lists yet ... )