This post is for the authors of Vim Hacks.
Markdown syntax supports <code>, <img>, <ul>
or other primary html tags. Vim Hacks authors need <kbd>
tag besides. And also, it is useful for us to be supported to contain metadata of Vim Hacks in a file. Therefore, I propose Extended Markdown Syntax for Vim Hacks.
- Extention:
***.mdv
<h1>
of the first line becomes`|<Cr>|`
becomes<kbd><Cr></kbd>
Author: ***
of the last line becomes<author>***</author>
Example:
# Hack #22: Ultra Super Great Vim Plugin | lv2 2009-06-06
## PROBLEM
blah blah blah
## SOLUTION
use [blogger.vim](http://www.vim.org/scripts/script.php?script_id=2638) with
the key mapping `|j|`.
## DISCUSSION
blah blah blah
nnoremap j :<C-u>1000sl<Cr>
nnoremap k :<C-u>1000sl<Cr>
blah blah blah. hara y y hara y?
Author: ujihisa
TODO
- Implement
mdv2html
andhtml2mdv
- Implement
mdvlint
No comments:
Post a Comment