From 718edf8ec794b07b310e23287d5656eedcedb36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 2 Sep 2024 15:43:24 +0200 Subject: [PATCH] update math --- pkg_building.Rmd | 11 +++-------- pkg_building.es.Rmd | 11 +++-------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/pkg_building.Rmd b/pkg_building.Rmd index 2f24d0476..fd8bf23ad 100644 --- a/pkg_building.Rmd +++ b/pkg_building.Rmd @@ -286,15 +286,10 @@ You can make the names of (some) authors clickable by adding their URL, and you You can make your website content easier to browse by tweaking the navbar, refer to [`pkgdown` documentation](https://pkgdown.r-lib.org/articles/pkgdown.html#navigation-bar). In particular, note that if you name the main vignette of your package "pkg-name.Rmd", it'll be accessible from the navbar as a `Get started` link instead of via `Articles > Vignette Title`. -### Mathjax {#mathjax} +### Math rendering {#mathjax} -Once your package is transferred and it gets a website using our `pkgdown` template, if you want to use Mathjax you'll need to specify it in the `pkgdown` config file like so: - -```yaml -template: - params: - mathjax: true -``` +Please refer to [pkgdown documentation](https://pkgdown.r-lib.org/dev/articles/customise.html#math-rendering). +Our template is compatible with this configuration. ### Package logo {#package-logo} diff --git a/pkg_building.es.Rmd b/pkg_building.es.Rmd index d7bd633a6..f8ee22ce5 100644 --- a/pkg_building.es.Rmd +++ b/pkg_building.es.Rmd @@ -327,15 +327,10 @@ Ver la [documentación de `pkgdown`](https://pkgdown.r-lib.org/reference/build_h Puedes hacer que el contenido de tu sitio web sea más fácil de navegar modificando la barra de navegación, consulta [`pkgdown` documentación](https://pkgdown.r-lib.org/articles/pkgdown.html#navigation-bar). En particular, ten en cuenta que si el nombre de la viñeta principal de tu paquete es "pkg-name.Rmd", ésta será accesible desde la barra de navegación en la sección `Para empezar` en vez de en `Artículos > Título de la Viñeta`. -### Mathjax {#mathjax} +### Renderización de matemáticas {#mathjax} -Una vez que tu paquete sea transferido y obtenga un sitio web utilizando nuestra plantilla de `pkgdown`, si quieres utilizar Mathjax tendrás que especificarlo en el archivo de configuración de `pkgdown` de la siguiente manera - -```yaml -template: - params: - mathjax: true -``` +Lee la [documentación de pkgdown](https://pkgdown.r-lib.org/dev/articles/customise.html#math-rendering). +Nuestra plantilla es compatible con esta configuración. ### Logo del paquete {#package-logo}