💾 Archived View for bbs.geminispace.org › u › gritty › 22401 captured on 2024-12-17 at 15:48:00. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Comment by 🍀 gritty

Re: "I have old dream to implement code syntax highlight (for..."

In: s/rust_software

I had a similar idea but more along the lines of a pastebin for gemni. could upload useful cgi scripts

🍀 gritty

Dec 02 · 2 weeks ago

1 Later Comment

👻 ps [OP] · Dec 03 at 01:45:

Thanks, found (by recommendation) and already integrated this crate:

— https://github.com/trishume/syntect

it's simply as maybe connect JS plugin, now have another deals with extensions detection, etc :)

finally have this feature, and some tutorials in geminispace looks much better, even integration pretty raw yet

Original Post

🌒 s/rust_software

I have old dream to implement code syntax highlight (for gemtext) - is any crate you could advice for these needs? Also, looking for ANSI -> RGB conversion crate (for terminal colors emulation)

💬 ps · 3 comments · Dec 02 · 2 weeks ago