💄 style(code blocks): change syntax highlighting theme & text size (#131)
📝 docs: remove opening and closing +++ in TOML codeblocks
This commit is contained in:
@@ -116,7 +116,6 @@ La opció `enabled_for_all_posts = true` habilita globalment el sistema de comen
|
||||
Alternativament, pots habilitar els comentaris a publicacions concretes afegint el nom del sistema (`utterances`, `giscus`, `hyvortalk` o `isso`) ` = true`. Per exemple, així és com habilitaries giscus:
|
||||
|
||||
```toml,hl_lines=09-10
|
||||
+++
|
||||
title = "L'art de l'entremaliadura segons Shin-Chan
|
||||
date = 1990-02-14
|
||||
description = "Descobreix com les travessures poden canviar la teva perspectiva de vida."
|
||||
@@ -126,7 +125,6 @@ tags = ["personal", "travessures"]
|
||||
|
||||
[extra]
|
||||
giscus = true
|
||||
+++
|
||||
```
|
||||
|
||||
Si accidentalment habilites més d'un sistema, Zola mostrarà un error.
|
||||
|
@@ -117,7 +117,6 @@ La opción `enabled_for_all_posts = true` habilitará globalmente el sistema de
|
||||
Alternativamente, puedes habilitar los comentarios en publicaciones concretas añadiendo el nombre del sistema (`utterances`, `giscus`, `hyvortalk` o `isso`) `= true`. Por ejemplo, así habilitarías giscus:
|
||||
|
||||
```toml,hl_lines=09-10
|
||||
+++
|
||||
title = "Los molinos de viento de mi vida: reflexiones de un escudero"
|
||||
date = 1605-01-16
|
||||
description = "Mi viaje junto a Don Quijote, enfrentándome a gigantes imaginarios y descubriendo las verdaderas batallas de la vida."
|
||||
@@ -127,7 +126,6 @@ tags = ["personal", "reflexiones"]
|
||||
|
||||
[extra]
|
||||
giscus = true
|
||||
+++
|
||||
```
|
||||
|
||||
Si accidentalmente habilitas más de un sistema, Zola mostrará un error.
|
||||
|
@@ -117,7 +117,6 @@ Setting `enabled_for_all_posts = true` for a comment system will enable it globa
|
||||
Alternatively, enable comments on an individual post's front matter by adding the name of the system (`utterances`, `giscus`, `hyvortalk`, or `isso`) `= true`. For example, this is how you would enable giscus:
|
||||
|
||||
```toml,hl_lines=09-10
|
||||
+++
|
||||
title = "Bears, Beets, Battlestar Galactica: The Dwight Schrute Guide to Life"
|
||||
date = 2007-04-26
|
||||
description = "Lessons learned from beet farming and paper sales."
|
||||
@@ -127,7 +126,6 @@ tags = ["personal", "beets"]
|
||||
|
||||
[extra]
|
||||
giscus = true
|
||||
+++
|
||||
```
|
||||
|
||||
If you accidentally enable more than one system, your site will fail to build with an error.
|
||||
|
@@ -28,13 +28,11 @@ Per exemple, `\\[ r = \frac{\sum_{i=1}^{n}(x_i - \bar{x})(y_i - \bar{y})}{\sqrt{
|
||||
Per activar $\KaTeX$ en una publicació o secció sencera, inclou `katex = true` dins de la secció `[extra]` de les metadades. Per exemple:
|
||||
|
||||
```toml,hl_lines=5-6
|
||||
+++
|
||||
title = "Provant KaTeX"
|
||||
date = 2002-11-30
|
||||
|
||||
[extra]
|
||||
katex = true
|
||||
+++
|
||||
```
|
||||
|
||||
Per activar-lo globalment, afeigeix `katex = true` a la secció `[extra]` del teu `config.toml`.
|
||||
|
@@ -28,13 +28,11 @@ Por ejemplo, `\\[ r = \frac{\sum_{i=1}^{n}(x_i - \bar{x})(y_i - \bar{y})}{\sqrt{
|
||||
Para activar $\KaTeX$ en una publicación o sección entera, incluye `katex = true` dentro de la sección `[extra]` del encabezado. Por ejemplo:
|
||||
|
||||
```toml,hl_lines=5-6
|
||||
+++
|
||||
title = "Probando KaTeX"
|
||||
date = 2002-11-30
|
||||
|
||||
[extra]
|
||||
katex = true
|
||||
+++
|
||||
```
|
||||
|
||||
Para activarlo globalmente, añade `katex = true` en la sección `[extra]` de tu `config.toml`.
|
||||
|
@@ -28,13 +28,11 @@ For example, `\\[ r = \frac{\sum_{i=1}^{n}(x_i - \bar{x})(y_i - \bar{y})}{\sqrt{
|
||||
To activate $\KaTeX$ for a post or an entire section, include `katex = true` within the `[extra]` section of the front matter. For exemple:
|
||||
|
||||
```toml,hl_lines=5-6
|
||||
+++
|
||||
title = "Testing KaTeX"
|
||||
date = 2002-11-30
|
||||
|
||||
[extra]
|
||||
katex = true
|
||||
+++
|
||||
```
|
||||
|
||||
You may enable it globally as well, by setting `katex = true` in the `[extra]` section of your `config.toml`.
|
||||
|
@@ -52,13 +52,11 @@ El codi per aconseguir-ho:
|
||||
Si col·loques la TdC en un lloc diferent del predeterminat i li afegeixes un capçalera, segurament voldràs ocultar aquest capçalera de la TdC (consulta la [secció per ocultar capçaleres](#ocultant-capcaleres-de-la-tdc)). Pots fer-ho així:
|
||||
|
||||
```markdown,hl_lines=06 11-13
|
||||
+++
|
||||
title = "El títol del teu post"
|
||||
date = 2034-01-11
|
||||
|
||||
[extra]
|
||||
toc_ignore_pattern = "^(Taula de contingut)"
|
||||
+++
|
||||
|
||||
Aquí va algun text introductori.
|
||||
|
||||
|
@@ -52,13 +52,11 @@ El código para lograr esto:
|
||||
Si colocas la TdC en algún lugar distinto al predeterminado y le añades un encabezado, seguramente quieras ocultar dicho encabezado de la TdC (consulta la [sección para ocultar encabezados](#ocultando-encabezados-de-la-tdc)). Puedes lograrlo así:
|
||||
|
||||
```markdown,hl_lines=06 11-13
|
||||
+++
|
||||
title = "El título de tu post"
|
||||
date = 2034-01-11
|
||||
|
||||
[extra]
|
||||
toc_ignore_pattern = "^(Tabla de contenido)"
|
||||
+++
|
||||
|
||||
Aquí va algún texto introductorio.
|
||||
|
||||
|
@@ -51,13 +51,11 @@ The code to achieve this:
|
||||
If you set a custom position and a custom header for the ToC, you'll probably want to hide it (see the [section below](#hiding-headers-from-the-toc)) like this:
|
||||
|
||||
```markdown,hl_lines=06 11-13
|
||||
+++
|
||||
title = "Your Post's Title"
|
||||
date = 2034-01-11
|
||||
|
||||
[extra]
|
||||
toc_ignore_pattern = "^(Table of Contents)"
|
||||
+++
|
||||
|
||||
Here goes some introductory text.
|
||||
|
||||
|
Reference in New Issue
Block a user