xaringanExtra icon indicating copy to clipboard operation
xaringanExtra copied to clipboard

xaringanExtra::use_remark_macros(x)

Open dmi3kno opened this issue 5 years ago • 1 comments

May I suggest a xaringanExtra::use_remark_macros(x), which places a macros.js file into the slide directory with the functionality specified by character vector "x". Below are some suggested values and corresponding macros:

There are some more ideas: sourcing JS scripts, calculating how long the current presentation should take, macro for adding macros (how meta!), random number generation

One thing to keep in mind: there should be clear separation between what can be done in tachyons and what spills here.

dmi3kno avatar Nov 02 '20 22:11 dmi3kno

@dmi3kno : where can I find more information on how to use JS macros on a presentation? I am keen to try out a "typewriter carousel" but can't find a straightforward way to do so. Cheers

gtalckmin avatar Apr 27 '21 18:04 gtalckmin