mirror of
https://github.com/welpo/tabi.git
synced 2025-12-17 04:48:44 +01:00
📝 docs: add code language to bash code blocks
This commit is contained in:
parent
ee6a54b3f9
commit
33cfe77344
3 changed files with 9 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
title = "Optimitza la càrrega amb un subconjunt de font personalitzat"
|
||||
date = 2023-04-29
|
||||
updated = 2023-06-22
|
||||
updated = 2023-07-08
|
||||
description = "Aprèn com crear un subconjunt personalitzat que només inclogui els glifs necessaris."
|
||||
|
||||
[taxonomies]
|
||||
|
|
@ -144,13 +144,13 @@ Guarda l'script a algun lloc com `~/bin/subset_font`. Fes-lo executable amb `chm
|
|||
|
||||
Ara pots executar-lo amb les opcions requerides `--config` i `--font`:
|
||||
|
||||
```
|
||||
```bash
|
||||
~/bin/subset_font --config path/to/config.toml --font path/to/font.woff2
|
||||
```
|
||||
|
||||
De forma predeterminada, això generarà un fitxer `custom_subset.css` al directori actual. Utilitza `-o` o `--output` per especificar una ruta diferent:
|
||||
|
||||
```
|
||||
```bash
|
||||
~/bin/subset_font -c path/to/config.toml -f path/to/font.woff2 -o path/to/output
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue