Skip to content

Latest commit

 

History

History
71 lines (44 loc) · 1.32 KB

README.md

File metadata and controls

71 lines (44 loc) · 1.32 KB

remarker v0.1.0

Remark cli

Usage

Install via npm:

$ npm install --save remarker

Write your slide in markdown:

# My Slide

---

# My Slide 2

???

Presenter notes here

---

save the above as slides.md

Invoke remarker command.

$ ./node_modules/.bin/remarker

This starts a local server at port 6275 (this is configurable) and you can see your slide at https://localhost:6275/.

See remark's slide and documentation for more details about its syntax, features etc.

Build slides

You can build your slide as static page as remarker build command.

$ ./node_modules/.bin/remarker build

This builds your slide as html page under build/ directory. The output directory is configurable. See the below for details.

Configuration

You can configure remarker with configuration file called remarker.yml:

Default settings are as follows:

port: 6275
dest: build
source: slides.md
css: ''
  • port is the port number of remarker server. Default is 6275.
  • dest is the destination of remarker build command. Default is build
  • source is the source markdown filename. Default is slides.md.
  • css is css text you want to add to slides' html page.

License

MIT