HTML Base Presentation Tool
-
Create directory
-
Write markdown text to main.txt
-
Change directory it
-
Execute presen
presen [theme]
-
Generate PDF
presen2pdf presen2pdf [page] [url] [output name]
- Move themes/default themes/hoge
- Edit themes/hoge/assets/css/main.css
- Edit themes/hoge/assets/js/main.js
- Execute
presen hoge
- Generate PDF
presen2pdf [page] [url] [output name]
create config.json
in document directory.
{
"theme": "blue"
}
create pdf.json
in document directory.
{
"name": "out.pdf",
"url": "http://localhost/presen/hoge/"
}
main.txt
TITLE
>-----
1 page conents
>-----
2 page conents
>-----
3 page contents
...
>-----
.vimrc add
" Presentation
autocmd BufWritePost main.txt silent exec "!presen [theme]"
copy vim plugin ~/.vim/
cp -R editor_plugins/vim ~/.vim/
and add line main.txt
<!-- vim: set filetype=presen syntax=markdown : -->