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

/update-examples/

    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