Skip to content
Discussion options

You must be logged in to vote

That won't work with SCSS because the .fragment declaration is in a div, which produces a different structure on your slideshow; the revealjs format needs information about which parts you're choosing to display the information. A rough way to think about this is that SCSS controls the appearance of the markdown. To control behavior, you need to change the markdown.

However, there are ways to write code that will change the markdown for you, hence saving on typing. One alternative is to create a Lua filter that picks the itemized lists you want and inserts the fragment classes as desired. Like this:

autofade.lua

function BulletList(node)
    local result = pandoc.Div(node.content:map(func…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tylerjarvis
Comment options

Answer selected by tylerjarvis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format
2 participants