# `Alaja.Syntax.Builtin`
[🔗](https://github.com/Lorenzo-SF/alaja/blob/2.1.0/lib/alaja/syntax/builtin.ex#L1)

Built-in inline tokenizers for common languages: Elixir, JSON, Markdown.

These are kept for backward compatibility and fast-path CLI rendering.
For full language support (Python, Rust, Go, etc.) use
`Alaja.Syntax.register_language/2` with `Alaja.Syntax.Engine`.

# `ansi_16_colors`

```elixir
@spec ansi_16_colors() :: %{required(atom()) =&gt; {0..255, 0..255, 0..255}}
```

ANSI 16-colour palette for the buffer pipeline — maps atoms to
`{r, g, b}` tuples. Bright variants use the half-bright split.
Unknown atoms fall back to white.

# `color_for`

```elixir
@spec color_for(atom()) :: String.t()
```

Maps a token type atom to an ANSI color name (string).

# `color_for_atom`

```elixir
@spec color_for_atom(atom()) :: atom()
```

Maps a token type atom to an atom colour name (for buffer pipeline).

# `tokenize_elixir`

```elixir
@spec tokenize_elixir(String.t()) :: [{atom(), String.t()}]
```

Tokenizes Elixir source code.

# `tokenize_json`

```elixir
@spec tokenize_json(String.t()) :: [{atom(), String.t()}]
```

Tokenizes JSON source code.

# `tokenize_markdown`

```elixir
@spec tokenize_markdown(String.t()) :: [{atom(), String.t()}]
```

Tokenizes Markdown source code.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
