nhunzaker-markdown
v1.2.1
Published
My markdown formatter
Downloads
1
Readme
My markdown generator
This script generates nice looking, client-friendly markdown documents. Here's how I have it configured:
First, install the required JavaScript packages with npm:
cd ~/path/to/this/script
npm install
While that installs, set up markdown-mode
, with the following settings:
;; Shells out to a provided command with the buffer as stdin
(setq-default markdown-command "node ~/path/to/script")
;; Properly decode special typographic characters
(setq-default markdown-content-type "utf-8")
Finally, run the markdown-preview
interactive Emacs command:
(markdown-preview)
And voilà!