https://github.com/toyboot4e/presentation_template
Asciidoctor reveal.js project template
https://github.com/toyboot4e/presentation_template
asciidoctor reveal-js slideshow
Last synced: over 1 year ago
JSON representation
Asciidoctor reveal.js project template
- Host: GitHub
- URL: https://github.com/toyboot4e/presentation_template
- Owner: toyboot4e
- Created: 2020-09-21T02:16:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-10T01:59:53.000Z (about 5 years ago)
- Last Synced: 2025-03-15T23:28:33.457Z (over 1 year ago)
- Topics: asciidoctor, reveal-js, slideshow
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Presentation template
An Asciidoctor reveal.js project template with very basic supports.
See https://asciidoctor.org/docs/asciidoctor-revealjs/
== Setting up
Installing the gems into the project:
[source,sh]
----
$ bundle config --local github.https true
$ bundle --path=.bundle/gems --binstubs=.bundle/.bin
----
== Usage
If you have https://github.com/watchexec/watchexec[watchexec] and https://github.com/sharkdp/fd[fd] in your `PATH`, you can run `_watch` to automate converting your `.adoc` files in the `src/` directory:
[source,sh]
----
$ ./_watch
----
Then you'll see html files in `slides/` directory.
== Customization
`_render` sets some default document https://asciidoctor.org/docs/user-manual/#attributes[attributes]. You can override them in your `.adoc` file or you can modify the script.
* reveal-js options: https://asciidoctor.org/docs/asciidoctor-revealjs/#reveal-js-options
== Notes
`_watch` is stupid and it may matter in some cases.
We have to generate PDF via browser because reveal.js does not support it. To get PDF, add `?print-pdf` post fix to the URI of your html in your browser.