Aladdin a.k.a. genie-previewer
Previews lessons using the markdown document and tests provided by the author.
Installation
$> easy_install Pygments
$> gem install aladdin
Usage
Create a new directory for your lesson e.g. lesson_0
. Change into that
directory, then execute:
$> aladdin new
Update index.md
and provide your unit tests in the lesson directory. Finally, execute aladdin to launch the Sinatra server:
$> aladdin server
Your lesson may be previewed at http://localhost:3456
.
A short guide can be obtained using
$> aladdin --help
Note that the following filenames are reserved:
__js
__css
__font
__img
- verify