github.com/mofumofu3n/reveal.cr
master / published Jun 20, 2018 / repository
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
- Fork it (https://github.com/mofumofu3n/reveal.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
See Also
Inspired
Contributors
- mofumofu3n - creator, maintainer