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

explain archetypes #87

Closed
wants to merge 5 commits into from
Closed

explain archetypes #87

wants to merge 5 commits into from

Conversation

maelle
Copy link
Contributor

@maelle maelle commented Nov 26, 2020

Fix #66
Fix #60 (except one link)

@@ -55,7 +57,7 @@ hugodown does not work with every possible hugo site. There is some config that
{{ . | safeHTML }}
{{ end }}

- To use mathjax, you will need to use a series of [small hacks][yihui-mathjax]. The easiest way is to copy from an existing template, like [tourmaline]. Take note of the [`footer_mathjax.html`][footer\_mathjax] partial, which is then included in the [`footer.html`][footer]. You'll also need to include [`math_code.js`][math\_code] in your `static/` directory. Once that's done you can use inline math like `$math$`, and display math like `` `$$ math $$` `` (note the extra backtick compared to usual).
- To use mathjax, you will need to use a series of [small hacks][yihui-mathjax]. The easiest way is to copy from an existing template, like [hugo-graphite](https://github.com/rstudio/hugo-graphite). Take note of the [`footer_mathjax.html`](https://github.com/rstudio/hugo-graphite/blob/master/layouts/partials/footer_mathjax.html) partial, which is then included in the [`footer.html`](https://github.com/rstudio/hugo-graphite/blob/master/layouts/partials/footer.html). You'll also need to include [`math_code.js`](https://github.com/rstudio/hugo-graphite/blob/master/static/js/math-code.js) in your `static/` directory. Once that's done you can use inline math like `$math$`, and display math like `` `$$ math $$` `` (note the extra backtick compared to usual).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yihui-mathjax is the link I was not able to guess.

@jennybc jennybc deleted the branch r-lib:master October 27, 2021 22:58
@jennybc jennybc closed this Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

the configuration vignette should explain archetype stuff links missing in config.Rmd
2 participants