mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-19 20:12:52 +02:00
Update Docker usage in readme.md
This commit is contained in:
parent
abc7f3470a
commit
51b7fc646b
10
readme.md
10
readme.md
@ -365,9 +365,19 @@ Patching the font of your own choosing:
|
||||
```
|
||||
|
||||
* Use docker
|
||||
* Default parallel tasks
|
||||
```
|
||||
docker run --rm -v /path/to/fonts:/in:Z -v /path/for/output:/out:Z nerdfonts/patcher [OPTIONS]
|
||||
```
|
||||
* Single process (slow)
|
||||
```
|
||||
docker run --rm -v /path/to/fonts:/in:Z -v /path/for/output:/out:Z -e "PN=1" nerdfonts/patcher [OPTIONS]
|
||||
```
|
||||
* Specify the parallel tasks number to 10
|
||||
```
|
||||
docker run --rm -v /path/to/fonts:/in:Z -v /path/for/output:/out:Z -e "PN=10" nerdfonts/patcher [OPTIONS]
|
||||
```
|
||||
|
||||
|
||||
> [!NOTE]
|
||||
> The resulting font's family (aka font name) will be set to the original family after CamelCasing, removing whitespace and appending ` Nerd Font`. For example, `iosevka term` would become `IosevkaTerm Nerd Font`.
|
||||
|
Loading…
Reference in New Issue
Block a user