update-examples

0.1.1 • Public • Published

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!');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i update-examples

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

2.99 kB

Total Files

4

Last publish

Collaborators

  • exon