diff --git a/plugin/markdown/plugin.js b/plugin/markdown/plugin.js index 808bc48..cc4207a 100755 --- a/plugin/markdown/plugin.js +++ b/plugin/markdown/plugin.js @@ -424,7 +424,7 @@ const Plugin = () => { deck = reveal; - let { renderer, ...markedOptions } = deck.getConfig().markdown; + let { renderer, animateLists, ...markedOptions } = deck.getConfig().markdown; if (!renderer) { let renderer = new marked.Renderer(); @@ -453,6 +453,10 @@ const Plugin = () => { }; } + if (animateLists) { + renderer.listitem = (text) => `
  • ${text}
  • `; + } + marked.setOptions( { renderer, ...markedOptions