给初学者入门用的章回体指南
- Article: Git 聊天入门
- Slides: GitChat Slides
How to build slides:
- Prepare
sudo apt-get install pandoc
cd GitChat/
git submodule update --init --recursive
- Build
pandoc slides.md -o slides.html -f markdown -t revealjs --standalone --variable=theme:white --highlight-style=zenburn --variable=center:false --variable=css:default.css
- white can be one of
ls reveal.js/css/theme
- zenburn can be one of: pygments(default),kae,monochrome,espresso,zenburn,haddock,tango
- white can be one of
- Other
- pandoc has many Markdown syntax Extension and usage is
pandoc -f markdown+xxextension
:escaped_line_breaks
blank_before_header
- more: http://www.pandoc.org/README.html#pandocs-markdown
- pandoc can deal with some Markdown syntax Model, and every Model is a set of extensions:
- John Gruber's Markdown syntax:
pandoc -f markdown
- GFM(Github Flavored markdown):
pandoc -f markdown_github
- PHP Markdown Extra:
pandoc -f markdon_phpextra
- John Gruber's Markdown syntax:
- pandoc has many Markdown syntax Extension and usage is