mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-18 22:23:41 +09:00
Update readme
This commit is contained in:
@@ -12,7 +12,11 @@ You'll need:
|
|||||||
- [Node.js](https://nodejs.org/) v10.12 or later
|
- [Node.js](https://nodejs.org/) v10.12 or later
|
||||||
- Your [WordPress export file](https://codex.wordpress.org/Tools_Export_Screen)
|
- 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.
|
This will create an `/output` folder filled with your posts and images.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user