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:
authorDavid Genest <david.genest@ubisoft.com>2022-05-06 08:38:38 +0300
committerDavid Genest <david.genest@ubisoft.com>2022-05-06 08:38:38 +0300
commit5acd7e727493e5678d13c6ffda3234915a221f52 (patch)
tree00e1126ec0e315cfef29b01476c2bba7fdd19e56 /theme.toml
parenteae99411d91acbc6e4468376f0f56890a4a007e6 (diff)
adds mermaid support
Leverage the new codeblock renderhooks to support mermaid rendering. Mermaid is picky about not being visible when it is rendered so we hook on Reveal events to render on slide view or on ready event. Mermaid is only included if it is used in the slides. this change depends on hugo verison >= v0.93.0
Diffstat (limited to 'theme.toml')
-rw-r--r--theme.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/theme.toml b/theme.toml
index 3a2b1b8..f5f1902 100644
--- a/theme.toml
+++ b/theme.toml
@@ -12,4 +12,8 @@ homepage = "https://dzello.com/"
[original]
name = "reveal.js"
homepage = "https://revealjs.com"
-repo = "https://github.com/hakimel/reveal.js/" \ No newline at end of file
+repo = "https://github.com/hakimel/reveal.js/"
+
+[module]
+ [module.hugoVersion]
+ min = "0.93.0"