Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.06 KB

README.md

File metadata and controls

34 lines (28 loc) · 1.06 KB

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

How to use mtoi


Use in your code

var fs = require('fs');
var mtoi = require('markdown-impress');
var content = mtoi('file.md');
fs.writeFileSync('file.html', content);