2019-02-01

alexwlchan: (Default)
2019-02-01 10:25 pm

$ python markdownify.py

I’ve been posting a lot more on Dreamwidth recently (although mostly private/filtered entries).

I've written a short script that lets me write posts in Markdown, then just upload the finished HTML to the Dreamwidth post editor. I find Markdown easier to write.

If Python is your thing and you'd find it useful, code available here:

https://github.com/alexwlchan/junkdrawer/blob/b25c2d0cdeebab8b0335fc5717081b1154e0cf09/services/dreamwidth/markdownify.py

(Usage instructions in the docstring; whole repo is MIT.)