node package manager


Projmate Tutdown Filter


Projmate filter to create tutorials and documentation from literate markdown.

Markdown between these markers are treated as live examples.

This directive is used to set arguments for next code block with these options

--hide | Capture the code block as an asset but do not display in rendered HTML. --no-capture | Display the next code block but do not capture as an asset.

Use this directive to include a {{{ Content ... }}} section from a file. Given this file

function Foo() {

//{{{ Content main
  console.log("Hello world!");

:::< foo.js --raw
:::< foo.js --clean

This directive

:::< foo.js --block main --no-capture

results in

```@ --no-capture

  console.log("Hello world!");
:::< examples/ --as-tab