Revealjs: mix horizontal and vertical slides in teaching context #826
-
A question for using revealjs-slides in a teaching context with conditional inclusion/exclusion of certain slides - my questions is somewhat related to this (#373) but targets rather the output content than the format and I am looking for feedback: Current workflow: Idea: Trying this out I had several thoughts:
Does it make sense to use horizontal/vertical slides that way? Is the 'content-wise' showing of slides dependent on audience (not format) on the roadmap? Or is there an easier way to this situation that I am currently totally blind to? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Any side that you mark with So you could write a simple Lua filter that adds this attribute to all slides with a given class (e.g. function Heading(el)
if (el.attr.classes:find("answer")) then
el.attr.attributes["visibility"] = "hidden"
return el
end
end Then just only apply the filter when you are creating the student slides. |
Beta Was this translation helpful? Give feedback.
Any side that you mark with
visibility="hidden"
will not render (see https://quarto.org/docs/presentations/revealjs/advanced.html#slide-visibility)So you could write a simple Lua filter that adds this attribute to all slides with a given class (e.g.
.answer
). For example (not tested!):Then just only apply the filter when you are creating the student slides.