alexwlchan: (Default)
alexwlchan ([personal profile] alexwlchan) wrote2019-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.)


Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting