mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-05 08:26:58 +00:00
🔧 Fix Mermaid invocation
It look like commit f9d73c0 introduced a very subtle regression
by removing what seemed to be an extraneous space in a selector...
But the space was there on purpose, so it had actually broken
Mermaid integration. This fixes it, hopefully in a way that won't
be affected the same way!
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
mermaid.initialize({ startOnLoad: false });
|
||||
slideshow.on('afterShowSlide', function (slide) {
|
||||
mermaid.run({
|
||||
nodes: document.querySelectorAll('div.remark-visible.mermaid'),
|
||||
nodes: document.querySelectorAll('div.remark-visible pre.mermaid'),
|
||||
});
|
||||
});
|
||||
// Reminder, if you want to tinker with mermaid,
|
||||
|
||||
Reference in New Issue
Block a user