9

Are there any decent command-line markdown converters?

Submitted by xxi in LiGNUx (edited )

Well, the title pretty much says it all.

Some elaboration: I've tried the "official" markdown utility. Another one is markdown_py which is a somewhat more polished version of the former.

One of thing I'm very familiar with is jekyll, but really I'd like something smaller. I just wanna throw out some HTML, not create a website. Most SSG:s tend to come with a bunch of dependencies, because... They're supposed to create static sites? Haha. So a utility, not a comprehensive program.

Comments

You must log in or register to comment.

3

Fossidarity wrote

Pandoc is another option for converting many formats to other formats, including md to html.

1

disfalo wrote (edited )

Try the discount package.

2

xxi wrote

That seems like something I'm looking for. I'll try it out and see if it suit my needs. Thanks.

1

Fossidarity wrote

There is this for CommonMark: https://gitlab.com/golang-commonmark/mdtool

1

xxi wrote

Got no experience with Go and I don't seem to have any environment to run it without installing that. Does seem like a neat too though.

I guess C, Python, Perl or sh programs are more in line with what I'm asking for. And well... Ruby I guess, since I got jekyll installed. But otherwise, anything written in a language that can be assumed to run a fresh Debian installation or something like that.