Skip to content

Commit 1476717

Browse files
authored
update math (#838)
1 parent ec72570 commit 1476717

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

pkg_building.Rmd

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -286,15 +286,10 @@ You can make the names of (some) authors clickable by adding their URL, and you
286286

287287
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`.
288288

289-
### Mathjax {#mathjax}
289+
### Math rendering {#mathjax}
290290

291-
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:
292-
293-
```yaml
294-
template:
295-
params:
296-
mathjax: true
297-
```
291+
Please refer to [pkgdown documentation](https://pkgdown.r-lib.org/dev/articles/customise.html#math-rendering).
292+
Our template is compatible with this configuration.
298293

299294
### Package logo {#package-logo}
300295

pkg_building.es.Rmd

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -327,15 +327,10 @@ Ver la [documentación de `pkgdown`](https://pkgdown.r-lib.org/reference/build_h
327327
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).
328328
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`.
329329

330-
### Mathjax {#mathjax}
330+
### Renderización de matemáticas {#mathjax}
331331

332-
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
333-
334-
```yaml
335-
template:
336-
params:
337-
mathjax: true
338-
```
332+
Lee la [documentación de pkgdown](https://pkgdown.r-lib.org/dev/articles/customise.html#math-rendering).
333+
Nuestra plantilla es compatible con esta configuración.
339334

340335
### Logo del paquete {#package-logo}
341336

0 commit comments

Comments
 (0)