# 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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gigi206.gitbook.io/vscode-anywhere/modules/list/fonts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
