> For the complete documentation index, see [llms.txt](https://gigi206.gitbook.io/vscode-anywhere/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gigi206.gitbook.io/vscode-anywhere/modules/list/fonts.md).

# Fonts

![](https://github.com/tonsky/FiraCode/raw/master/extras/ligatures.png)

## About

This module installs the [Fira Code](https://github.com/tonsky/FiraCode/) fonts and configure VSCode to use these fonts and enable ligatures.

[Fira Code](https://github.com/tonsky/FiraCode/) is an extension of the Fira Mono font containing a set of ligatures for common programming multi-character combinations.

![](https://code.visualstudio.com/assets/docs/getstarted/tips-and-tricks/font-ligatures-annotated.png)

## Installation

Change `enable` from `False` to `True` in the `fonts` section (cf [module installation](/vscode-anywhere/modules/install.md)).

```yaml
vscode-anywhere:
    fonts:
        enabled: True
```

{% hint style="info" %}
You can also take a look at the [VSCode-Anywhere fonts module configuration](https://github.com/gigi206/VSCode-Anywhere/blob/V2/salt/modules/fonts/defaults.yaml).
{% endhint %}

## Requirements

No requirements.

## VSCode

### VSCode extensions

No [extensions](https://marketplace.visualstudio.com/VSCode).

### VSCode settings

```javascript
{
      "editor.fontLigatures": true,
      "editor.fontFamily:" "Fira Code"
}
```

### VSCode keybindings

No [keybindings](https://code.visualstudio.com/docs/getstarted/keybindings).

## Software

No software.

## Documentation

No documentation.

## VSCode-Anywhere

### Environment

No environment.

### Specific settings

### fonts

The setting `fonts` allow installing some fonts.

`FiraCode` is the name of the font to install and it takes some params:

* `provider`: mechanism to download the fonts (only `git` at the moment)
* `url`: where to download the fonts (depending on the `provider`)
* `files`: list of files that must be synchronized

```yaml
vscode-anywhare:
  fonts:
    enabled: False
    fonts:
      FiraCode:
          provider: git
          url: https://github.com/tonsky/FiraCode.git
          files:
            - distr/ttf/FiraCode-Bold.ttf
            - distr/ttf/FiraCode-Light.ttf
            - distr/ttf/FiraCode-Medium.ttf
            - distr/ttf/FiraCode-Regular.ttf
            - distr/ttf/FiraCode-Retina.ttf
            - distr/ttf/FiraCode-SemiBold.ttf
```
