You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is a good idea, but what about adding a variable in the metadata, such as custom-fragments=True, so that all <li class="fragment"> fragments generated by bullet lists become class="fragment custom"?
Currently, I'm using the following JavaScript code when compiling the document:
document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll('.fragment').forEach(function(element){element.classList.add('custom');// Avoid turning elements inside `agenda` https://github.com/andrie/reveal-auto-agenda into `.fragment .custom`.if(element.closest('.agenda')){element.className="agenda list";}});});
I'm not sure if this is a good idea, but what about adding a variable in the metadata, such as
custom-fragments=True
, so that all<li class="fragment">
fragments generated by bullet lists becomeclass="fragment custom"
?Currently, I'm using the following JavaScript code when compiling the document:
Originally posted by @ChoCho66 in #9643 (reply in thread)
The text was updated successfully, but these errors were encountered: