Update readme

This commit is contained in:
Jason Lloyd
2020-01-16 18:20:35 +00:00
parent ebfcce977a
commit 75e83d3f9e
+5 -1
View File
@@ -12,7 +12,11 @@ You'll need:
- [Node.js](https://nodejs.org/) v10.12 or later
- Your [WordPress export file](https://codex.wordpress.org/Tools_Export_Screen)
Open your terminal to this package's directory. Run `npm install` and then `node index.js`.
There are a few ways you can run the package:
1. use npx example: `npx w2m --input=wordpress_export_file.xml`
2. install it via npm: `npm i wordpress-export-to-markdown` then run `w2m --input=wordpress_export_file.xml`
3. Clone this repository, open your terminal then run `npm install` and then `node index.js`.
This will create an `/output` folder filled with your posts and images.