markdown-reveal
Fast, flexible & convert your makedown file to a beautiful html page.
👀 Preview
💕 ✉️ Installation
npm
npm install markdown-reveal -g
yarn
yarn global add markdown-reveal
😈 Usage
Usage: mk [option] Options: -v, --version Output the version number -f, --file <file> The file path that to convert -u, --output [file] The file path that to output -l, --logProcess Log process -o, --openInBrower Open in the brower -h, --help Output usage information
e.g:
mk -f './demo.md' -u 'demo'
🔧 Configuration
You can customize the configuration in config.yml
# @desc: Open html in brower# @type: booleanopenInBrower: false # @desc: Log process# @type: booleanlogProcess: true # @desc: html title# @type: string# @default: markertitle: 'marker' # @desc: Whether to display the title number# @type: booleanshowSerialNumber: false # @desc: Whether to expand all nodes# @type: booleanopenAllNode: false # @desc: Additional custom scripts that need to be introduced# @type: Array# @example:# scripts:# - 'xxx1'# - 'xxx2'scripts: # @desc: Additional custom links that need to be introduced# @type: Array# @example:# links:# - 'xxx1'# - 'xxx2'links:
🔦 TODOLIST
- Support convert folder
- Compress static resources
- link animate