Commit 8a460c18 authored by Duncan Bayne's avatar Duncan Bayne

Improved documentation of MD commands.

parent f40d681a
......@@ -23,12 +23,12 @@
(buffer-list)))
(defun duncans_emacs:markdownify()
"Run the current buffers contents through the markdownify utility."
"Assume the buffer contains HTML, and convert it to Markdown. Assumes markdownify is installed."
(interactive)
(shell-command-on-region (point-min) (point-max) "markdownify" (current-buffer) t))
(defun duncans_emacs:markdown()
"Run the current buffers contents through the markdown utility."
"Assume the buffer contains Markdown, and convert it to HTML. Assumes markdown is installed."
(interactive)
(shell-command-on-region (point-min) (point-max) "markdown" (current-buffer) t))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment