@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

@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.

Follow

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

npmjs.com/package/marked

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.