Skip to content
Discussion options

You must be logged in to vote

Just to be sure: using the syntax # heading {data-state="blur} works, right ? What is the attributes you want to set exactly ?

to add attributes to all slide sections? I would like to avoid applying attributes to individual slides

You can use a Lua filter to apply some attributes to all headers at once. That would be the easiest IMO.

I aimed to do this with RevealJS' slide attributes mechanism

For revealjs output, we leverage Pandoc's support for revealjs, and I don't think it supports the markdown syntax. Pandoc will convert markdown to HTML for revealjs directly and attributes are passed as HTML attributes (example with data-background)

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MattF-NSIDC
Comment options

You must be logged in to vote
2 replies
@cderv
Comment options

@MattF-NSIDC
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants