Me: ...you know, I have a bunch of stuff installed, what do you wanna bet if I pop open a Python REPL and go "import markdown" that totally works

Me: ahaha, yep. Lemme read some docs

Me: so this 15-line (including error handling, a couple of blank lines for readability, and a usage message) Python script I just wrote immediately does a better job of parsing Markdown to HTML than Pandoc does. Good to fucking know


You must log in to comment.

in reply to @caffeinatedOtter's post:

I have been — turn of the century, static site generator, Perl — but these days: not if I can fucking help it.

No, I have all these Cohost fics in vanilla Markdown, some of which which I'd like to turn into simple HTML for stuffing inside ePubs, and you'd think that was a simple thing to ask for....

Making epubs for people is nice 🥰, I avoid markdown when I can because i never remember some of its rules and I’m so happy it means my workflow allow me to have good enough PDFs and epubs without having to deal with pandoc and/or LaTeX

It. Uh. Its results are definitely what some people need.

It's just a shame the results are wedded, by sole virtue of a value-filled package ecosystem, to a scripting language sufficiently, let's say, of its time that it constitutes a less-interesting esolang in the modern day, the interpreter for which is enshined in a codebase sufficiently resistant to modernisation that I consider it the premier counterargument to "literate programming".