0.1.1 • Published 5 years ago

update-examples v0.1.1

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

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.log('HELLO KITTY!');