wp-handbook-converter

Convert all WordPress handbook content into markdown files

Usage no npm install needed!

<script type="module">
  import wpHandbookConverter from 'https://cdn.skypack.dev/wp-handbook-converter';
</script>

README

wp-handbook-converter

Build Status npm version

Description

Convert all pages in a specific type of WordPress handbook into markdown files.

Install

$ npm i -g wp-handbook-converter

# Or

$ yarn global add wp-handbook-converter

If you want to run the command without installing the package, use this: $ npx wp-handbook-converter <team>

wp-handbook-converter command

$ wp-handbook-converter <team>

options

  • -b, --handbook <handbook> Specify handbook name. (Default "handbook")
  • -s, --sub-domain <sub-domain> Specify subdomain name. e.g. "developer" for developer.w.org, "w.org" for w.org (Default "make")
  • -o, --output-dir <output-dir> Specify the directory to save files (default en/)

Example

Get Meetup Handbook

$ wp-handbook-converter community --handbook meetup-handbook

Get theme developer Handbook

$ wp-handbook-converter '' --handbook theme-handbook --sub-domain developer