reveal.cr

Version, currently master branch1 version
  • master branchlatestJun 20, 2018

github.com/mofumofu3n/reveal.cr

No description declared in shard.yml.

5 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  reveal.cr:
    github: mofumofu3n/reveal.cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.25.0
License
MIT
Author
mofumofu3n
Target
  • revealcr from src/reveal.cr

Dependencies

This version declares no dependencies.

README

reveal.cr

reveal.cr is command to view simply a markdown presentation file with reveal.js on localhost.

Installation

git clone https://github.com/mofumofu3n/reveal.cr.git
cd reveal.cr
shards build -v

Usage

Usage: revealcr [options] [index.md]
    -p PORT, --port=PORT             port with running. default: 4000
    -t THEME, --theme=THEME          presentation theme. default: black (beige|black|blood|league|moon|night|serif|simple|sky|solarized|white)
    -h, --help                       Show this help

Sample markdown

# Title1

`===` is separator for horizontal slides.

===

# Title2

`---` is separator for vertical slids.

---

# Title2.1

===

# Title3

You can add attributes using html comments.

<!-- .slide: data-background="#FAAC58" -->

Contributing

  1. Fork it (https://github.com/mofumofu3n/reveal.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

See Also

Inspired

Contributors