diff options
author | David Genest <david.genest@ubisoft.com> | 2022-05-06 08:38:38 +0300 |
---|---|---|
committer | David Genest <david.genest@ubisoft.com> | 2022-05-06 08:38:38 +0300 |
commit | 5acd7e727493e5678d13c6ffda3234915a221f52 (patch) | |
tree | 00e1126ec0e315cfef29b01476c2bba7fdd19e56 /theme.toml | |
parent | eae99411d91acbc6e4468376f0f56890a4a007e6 (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.toml | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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" |