Automatic html saving

Steve Huff shuff at vecna.org
Mon Jun 15 09:23:52 EDT 2009



On Jun 14, 2009, at 5:57 PM, Séb wrote:


> Someone have a tip to automatically convert a .mkd or .md in .html ?

> In particularly with vim.

>

> Presently I use the markdown command.



i don't know how "automatically" you need, but the following command
is part of my vim toolbox:

" Markdown filtering
command -range=% Markdown <line1>,<line2>!markdown

this means that i can write a buffer in Markdown syntax, then
run :Markdown (or some abbreviation thereof) and the contents of the
buffer are replaced with the translated HTML.

-steve

--
If this were played upon a stage now, I could condemn it as an
improbable fiction. - Fabian, Twelfth Night, III,v
http://five.sentenc.es

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2209 bytes
Desc: not available
Url : <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20090615/4c854533/attachment.bin>


More information about the Markdown-Discuss mailing list