📝 docs: add code language to bash code blocks

This commit is contained in:
welpo 2023-07-08 01:57:12 +02:00
parent ee6a54b3f9
commit 33cfe77344
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
3 changed files with 9 additions and 9 deletions

View file

@ -1,7 +1,7 @@
+++
title = "Optimiza la carga con un subconjunto de fuente personalizado"
date = 2023-04-29
updated = 2023-06-22
updated = 2023-07-08
description = "Aprende cómo crear un subconjunto personalizado que solo incluya los glifos necesarios."
[taxonomies]
@ -144,13 +144,13 @@ Guarda el script en algún lugar como `~/bin/subset_font`. Hazlo ejecutable con
Ahora puedes ejecutarlo con las opciones requeridas `--config` y `--font`:
```
```bash
~/bin/subset_font --config path/to/config.toml --font path/to/font.woff2
```
De forma predeterminada, esto generará un archivo `custom_subset.css` en el directorio actual. Usa `-o` o `--output` para especificar una ruta diferente:
```
```bash
~/bin/subset_font -c path/to/config.toml -f path/to/font.woff2 -o path/to/output
```