This repo enables you to create:
-
A base HTML/PDF of your notes and other teaching materials
-
A handout version (by using the pre-processor
ifdef::handout
) -
A revealjs presentation of the file
In order to fully achieve the potential of this repo, you’ll want to be familiar with:
-
LaTeX tikz syntax (for diagrams in tikz)
If you just want the simple stylesheet, without any of the extras,
you can simply just grab the stylesheet in stylesheets/simple.css
and:
-
Copy
simple.css
to the location of yourfile.adoc
, -
Put
:stylesheet: simple.css
in yourfile.adoc
file, -
Run
asciidoctor file.adoc
.
-
asciidoctor
executable
src/example.adoc
contains a comprehensive source file to create:
-
asciidoctor
executable -
ruby
and rubybundle
-
chromium browser (to enable PDF generation)
-
Clone:
git clone https://github.com/majamin/asciidoctor-teacher-kit
-
cd asciidoctor-teacher-kit
-
bundle install
-
make
Build files will compile in the build
directory.
Note
|
you can create any hierarchy of files in the src directory - the build
files will structure themselves accordingly.
|
If you’re in a tmux session, running watch-and-show.sh
can load a
nice dev environment, but is not necessary to be able to use this project.
Running the script creates new windows in the current session to be
able to monitor the live build and show.
-
All of the above, and
-
browser-sync
andnodemon
installed via npm, -
tmux