Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.27 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.27 KB

Install & usage

Themes

asciidoc -v --theme install pryz-1.1.zip
asciidoc --theme pryz your_file.txt

Backends

asciidoc -v --backend install index_list-1.2.zip
asciidoc --backend index-list your_file.txt

Use rake to generate notes

Install dependencies

wget https://github.com/Pryz/asciidoc/raw/master/themes/pryz/pryz-1.1.zip
asciidoc -v --theme install pryz-1.1.zip

wget https://github.com/Pryz/asciidoc/raw/master/backend/index_list-1.2.zip
asciidoc -v --backend install index_list-1.2.zip
    
wget https://github.com/Pryz/asciidoc/raw/master/backend/lofic_backend-1.0.zip
asciidoc -v --backend install lofic_backend-1.0.zip

wget https://github.com/Pryz/asciidoc/raw/master/themes/lofic/lofic-1.0.zip
asciidoc -v --theme install lofic-1.0.zip

Get and use the Rakefile

# If you want to hide tags, install last release of index_list backend (1.2) and pryz theme (1.1)

wget https://github.com/Pryz/asciidoc/raw/master/Rakefile

# Edit the rakefile with your notes location
# Then build html and index
rake
# or html
rake genhtml
# or index
rake genindex
# or just one html note
rake genfile["txt/my_file.txt"]