diff --git a/README.md b/README.md index f102c85f7e..ad198e1d03 100644 --- a/README.md +++ b/README.md @@ -39,14 +39,6 @@ Press `endpoint` on the `RunKit` website: * https://runkit.com/dolanmiu/docx-demo8/1.0.1 - Header and Footer * https://runkit.com/dolanmiu/docx-demo10 - **My CV generated with docx** -#### Run demos locally: - -```sh -$ npm run demo -``` - -This command will run the demo selector app in the `demo` folder. It will prompt you to select a demo number, which will run a demo from that folder. - ## How to Please refer to [https://docx.js.org/](https://docx.js.org/) for details on how to use this library, examples and much more! diff --git a/docs/examples.md b/docs/examples.md index c2450496ca..cd811ded43 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -2,6 +2,14 @@ > All examples can run independently and can be found in the `/demo` folder of the project +All the examples below can be ran locally, to do so, run the following command: + +```sh +npm run demo +``` + +This command will run the `demo selector app` in the `/demo` folder. It will prompt you to select a demo number, which will run a demo from that folder. + ## Simple A simple hello world of the `docx` library: