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

Trick and tips #42

Closed
KevCaz opened this issue Feb 2, 2018 · 1 comment
Closed

Trick and tips #42

KevCaz opened this issue Feb 2, 2018 · 1 comment
Assignees

Comments

@KevCaz
Copy link
Member

KevCaz commented Feb 2, 2018

Currently we use a R scirpt to add a paragraph describing the series. We should better use a shortcode!

@KevCaz KevCaz self-assigned this Feb 2, 2018
@KevCaz
Copy link
Member Author

KevCaz commented Feb 4, 2018

Work in progress. Note that to use Hugo in shortcodes a small tweak is needed! See:

rstudio/blogdown#40

So, for instance, to use the trickortips shortcode in Rmd files do:

r htmltools::HTML("{{< trickortips >}}")

@KevCaz KevCaz closed this as completed in 2b28b1b Feb 4, 2018
KevCaz pushed a commit that referenced this issue Apr 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant