Follow

@makeworld Is this md2gemini lib archived cause you don't want to update it or was it not working like you'd hoped? :o

Thinking of crossposting my blog to gemini.

github.com/makew0rld/md2gemini

· · Web · 2 · 1 · 1

@mauve I don't maintain it anymore, it's too hacky. It should broadly work in its current state, but I would check the output rather than fully automate it.

@makeworld Fair! I was just about to make an equivalent in JS so gonna have a gander at your tests for inspo 😸 I think I'm gonna say "Anything but this subset of markdown is unsupported" since it's mostly for personal use.

@mauve good luck! It's tough, but if you have a good Markdown AST library to use that will help a lot.

@makeworld Yeah, I've had decent luck with Marked for MD-to-HTML and some basic extraction.

npmjs.com/package/marked

@spanin Cool! Looks like it does gemtext already. I don't think it'd make sense to include it in my node.js project directly but I can at least use their tests as inspo, ty!

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.