Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xaringanExtra::use_remark_macros(x) #72

Open
dmi3kno opened this issue Nov 2, 2020 · 1 comment
Open

xaringanExtra::use_remark_macros(x) #72

dmi3kno opened this issue Nov 2, 2020 · 1 comment
Labels
priority: medium Medium priority status: considering Considering if/how this should be implemented type: new New feature or enhancement

Comments

@dmi3kno
Copy link

dmi3kno commented Nov 2, 2020

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.

@gadenbuie gadenbuie added priority: medium Medium priority status: considering Considering if/how this should be implemented type: new New feature or enhancement labels Jan 13, 2021
@gtalckmin
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Medium priority status: considering Considering if/how this should be implemented type: new New feature or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants