Generates HTML5-slides from markdown.
- Generates a single html includes style and script based on html5slides.
- Syntax highliting with redcarpet and prettify.js
It's available as a Ruby gem.
$ gem install markdown_sliderThe source is available on GitHub:
$ git clone git://github.com/massat/markdown_slider.gitTITLE
=====
section title
-------------
### slide title
It's my awsome code.
```
STDOUT.puts 'awsome!'
```
$ md-slider example.md > index.htmlmd-slider divides html into slides with h1, h2 and h3.
Following markdown is divided into 4slides.
title
=====
subtitle
### agenda
* foo
* bar
foo
---
### what's foo?
about foo...
writing...
You can publish slides with md-slider command.
It outputs HTML into STDOUT.
$ md-slider [options] path/to/markdown > path/to/htmlYou can use following options.
-h, --help :show help message
--title TITLE :specifies the title of slides. (set as title of HTML)
--template TEMPLATE :specifies an ERB template.
--style STYLE :specifies a css file.
--script SCRIPT :specifies a js file
- improve navigation.
- improve syntax highliting.
- Write tests.
Copyright 2012 Masato Hirai
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.