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 markdown.pl perl script, then paste it to blogger.
First, grab the markdown.pl 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
- C-x h (Select whole buffer)
- M-| (Run shell command on region)
- Type "markdown.pl" in the minibuffer prompt
Then copy the HTML out of the shell command output buffer. done.
Labels: emacs, markdown