> For the complete documentation index, see [llms.txt](https://docs.xz.style/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xz.style/fonts/fira/fira-code.md).

# Fira Code

## Installing

{% tabs %}
{% tab title="@import" %}
At the top of your primary CSS file, insert:

```css
@import url("https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/fira-code.min.css");
```

{% endtab %}

{% tab title="<link>" %}
At the bottom of your `<head>` tag, insert:

```markup
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/fira-code.min.css"> 
```

This tag needs to be inserted in all HTML documents in which you'd like to use the font.
{% endtab %}
{% endtabs %}

## Usage

To use this font in your CSS:

```css
font-family: 'Fira Code', sans-serif;
```

## Styles

This font supports the following weights and styles:

* Light (300)
* Normal (400)
* Medium (500)
* **Bold (700)**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.xz.style/fonts/fira/fira-code.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.
