0.2.5 • Published 10 years ago

deep-marked v0.2.5

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

deep-marked

Client for kroked : Markdown with macros.

Clients

Clients will load markdown documents (kroked flavoured), compile them and keep them in cache (deep media cache) for further usage.

Two implementations are there for the moment : jquery/ajax or nodejs/fs. Under nodejs, there is some file watching that update cache if file change.

Browser (jq-ajax) example :

require("deep-marked/lib/jq-ajax"); // load deep.marked : contains language definition
deep.marked.jqajax("myProtocol");
//...
deep("myProtocol::/my/markdown/file.mkd").run(null, { context:{ vars:true }}).log();
// will output the result

Nodejs (fs) example :

require("deep-marked/lib/nodejs"); // load deep.marked : contains language definition
deep.marked.nodejs("myProtocol");
//...
deep("myProtocol::/my/markdown/file.mkd").run(null, { context:{ vars:true }}).log();
// will output the result

Licence

LGPL 3.0

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago