One way to use Markdown in Emacs.

作者:   發佈於:  

I recently use markdown to write my blog post in Emacs, and convert it to HTML with the official perl script, then paste it to blogger.

First, grab the from Markdown website and put that in one of your $PATH. I put it in $HOME/bin.

Then, start from scratch, type your post in using Markdown. When your're done, hit

  1. C-x h (Select whole buffer)
  2. M-| (Run shell command on region)
  3. Type "" in the minibuffer prompt

Then copy the HTML out of the shell command output buffer. done.

Labels: emacs, markdown