Markdown-Impress
What is it
markdown-impress is a tool to convert markdown to impress page.
How to install
- Firstly you should install nodejs
- Then install it use
$ npm install -g markdown-impress
Markdown format
- use
-----
to separate each slide - use comment to set impress attr, such as
<!-- x=0 y=0 rotate=0 -->
- this page is made by markdown-impress use this markdown.
How To Use
Use in your code
var fs = require('fs');
var mtoi = require('markdown-impress');
var content = mtoi('file.md');
fs.writeFileSync('file.html', content);