No description
Find a file
Peter Kurfer bb66990c98
feat: added support for custom CSS, side menu plugin and a few more config options
- added support to add one or multiple CSS files as theme overrides
- added side menu plugin to control themes, transitions, switch to print view and so on
- added config options to set transition and navigation modes
2019-05-16 03:18:02 +02:00
.circleci Added filter to build job in workflow 2019-04-20 00:47:01 +02:00
assets feat: added support for custom CSS, side menu plugin and a few more config options 2019-05-16 03:18:02 +02:00
cmd/goveal feat(PoC): PoC complete 2019-04-19 23:56:39 +02:00
examples feat: added support for custom CSS, side menu plugin and a few more config options 2019-05-16 03:18:02 +02:00
internal/app feat: added support for custom CSS, side menu plugin and a few more config options 2019-05-16 03:18:02 +02:00
.gitignore fix: updated go.{mod,sum} 2019-04-20 02:34:36 +02:00
.goreleaser.yml feat(PoC): PoC complete 2019-04-19 23:56:39 +02:00
download_revealjs.sh feat: added support for custom CSS, side menu plugin and a few more config options 2019-05-16 03:18:02 +02:00
go.mod fix: updated go.{mod,sum} 2019-04-20 02:34:36 +02:00
go.sum fix: updated go.{mod,sum} 2019-04-20 02:34:36 +02:00
LICENSE Initial commit 2019-04-19 14:29:55 +02:00
Makefile feat(PoC): PoC complete 2019-04-19 23:56:39 +02:00
packr2_hack.go feat(embedded HTML): changed markdown delivery to load it as external file 2019-04-20 02:28:27 +02:00
README.md feat(PoC): PoC complete 2019-04-19 23:56:39 +02:00

Goveal

Goveal is very small an very simple tool that reads Markdown from a given file, renders it into a HTML template and serves it as local HTTP server. Right now Goveal uses Reveal.js 3.8.0 to create presentations and therefore also includes all features of Reveal.js 3.8.0.

Usage

The easiest way to use goveal is to download a release, and run it from your $PATH.

goveal serve ./slides.md
Param Description Default value
--host Hostname the binary is listening on localhost
--port Port the binary is listening on 2233
--code-theme highlight.js theme to use monokai
--config Path to the config file see config $HOME/goveal:./goveal
-h / --help shows help
--horizontal-separator horizontal separator to split slides ===
--vertical-separator vertical separator to split slides ---
--theme reveal.js theme to use white

Config

Goveal supports multiple configuration mechanisms. It tries to load a configuration file from $HOME or from . i.e. $HOME/goveal.yaml or $HOME/goveal.yml or ./goveal.yaml and so on.

Most options that can be set via commandline flags can also be set via configuration file (actually all but the --config switch does not make sense in the configuration file, does it? 😉). It is more a convenience feature to be able to set a theme and so on and so forth for the presentation without having to pass it every time as parameter.

Furthermore goveal supports configuration hot reloading i.e. you can play around with different themes and the rendered theme will be changed whenever you hit the save button!

See also an example at ./examples/goveal.yaml.