Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dzello/reveal-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index d835452..50dd6a7 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -20,8 +20,12 @@ name = "Josh Dzielak"
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
+# setting the theme for highlighting by Hugo
# we need a style that looks good in both light and dark background!
style = "tango"
+# to allow the use of Highlight.js line numbers and highlights
+# (see https://github.com/hakimel/reveal.js#line-numbers--highlights)
+codeFences = false
[outputFormats.Reveal]
baseName = "index"
@@ -30,6 +34,8 @@ isHTML = true
[params.reveal_hugo]
history = true
+# setting the theme for highlighting by Highlight.js
+highlight_theme = "github"
# used in content/template-example
[params.reveal_hugo.templates.grey]