Package Exports
- deep-marked
- deep-marked/lib/nodejs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (deep-marked) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
deep-marked
Client for kroked : Markdown with macros.
Clients
Clients will load markdown documents (deep-marked 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, { my:{ vars:true }}).log();
// will output the resultNodejs (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, { my:{ vars:true }}).log();
// will output the resultLicence
LGPL 3.0