update-examples
Update examples in your documentation files
Installation
npm install update-examples
Usage
Your example must match the two following criteria:
- Starts with
Example file/relative/to/markdown.js
- Follow by triple ` codeblock (empty at first)
update-example [file or pattern 1] [...]
Example
Example examples/hello-cat.js
console;