No description, website, or topics provided.
JavaScript Perl Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
editor_plugins/vim/ftplugin
tests
themes
.gitignore
README.md
presen
presen2pdf
presen2png.coffee

README.md

Presentation

What's this

HTML Base Presentation Tool

How to

  1. Create directory

  2. Write markdown text to main.txt

  3. Change directory it

  4. Execute presen

     presen [theme]
    
  5. Generate PDF

     presen2pdf presen2pdf [page] [url] [output name]
    

Customize Theme

  1. Move themes/default themes/hoge
  2. Edit themes/hoge/assets/css/main.css
  3. Edit themes/hoge/assets/js/main.js
  4. Execute presen hoge
  5. Generate PDF presen2pdf [page] [url] [output name]

Config each documents

create config.json in document directory.

{
	"theme": "blue"
}

Config each PDF

create pdf.json in document directory.

{
	"name": "out.pdf",
	"url": "http://localhost/presen/hoge/"
}

Syntax

main.txt

TITLE
>-----
1 page conents
>-----
2 page conents
>-----
3 page contents
...

Page Delimiter

>-----

Tips

Auto Build

.vimrc add

" Presentation
autocmd BufWritePost main.txt silent exec "!presen [theme]"

Auto Build vim Plugin

copy vim plugin ~/.vim/

cp -R editor_plugins/vim ~/.vim/

and add line main.txt

<!-- vim: set filetype=presen syntax=markdown : -->