markdown-to-leanpub-highlight
v1.1.0
Published
Converts code highlights between markdown and leanpub formats.
Downloads
18
Readme
markdown-to-leanpub-highlight
Converts code highlights between markdown and leanpub formats.
Installation
In order to run this script, you need to have Node.js installed on your computer.
You can check whether it's installed by running node -v
.
Either use:
npm install -g markdown-to-leanpub-highlight
or
npx markdown-to-leanpub-highlight [encode|decode] <input> <output>
without installting it on your machine.
Usage
markdown-to-leanpub-highlight [encode|decode] <input> <output>
encode - convert markdown to leanpub format
decode - convert leanpub to markdown format
input - input file or directory
output - output file or directory (will be overwritten)