0.1.1 • Published 4 years ago

cnmd v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

CNMD: Cross-Notation Markdown

CNMD is a syntax extension of standard markdown. It allows you setup handlers to automatically generate links.

CNMD is widely used in kenpusney/wiki to cross ref resources in the site, and other sites like GitHub, Wikipedia, as well as Twitter etc.

Syntax

CNMD cross notation is pretty simple, just a colunm seperated link tag, e.g.:

[wiki:JavaScript]()

means, it will call wiki handler and provide the link of JavaScript.

and the wiki handler will simply be:

(postfix) => `https://en.wikipedia.org/wiki/${postfix}`

in this case, the CNMD notation will generate follow html:

<a href="https://en.wikipedia.org/wiki/JavaScript" title="JavaScript">JavaScript</a>
0.1.0

4 years ago

0.1.1

4 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago