@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.
@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.
@metasyn @makeworld I think the main thing is deciding which parts of markdown you will throw out and how you'll "gracefully" downgrade. e.g. flattening nested lists.
This is what I came up with for anyone curious.