roxy-docs/in/pages/guides/configuration.md

20 lines
642 B
Markdown
Raw Normal View History

2024-02-20 11:42:49 +00:00
{% extends "../../../layouts/topic.tera" %}
{% block content %}
`roxy-cli` uses a configuration file in the root of the project directory, `config.toml`.
```toml
[roxy]
slug_word_limit = 8 # the max word limit for a slug
[syntect]
theme = "base16-ocean.dark" # the name of the theme for syntax highlighting
theme_dir = "./themes" # directory to load themes into syntect
```
2024-02-21 14:10:31 +00:00
* `roxy.slug_word_limit` limits the amount of words during slug generation
2024-02-20 11:42:49 +00:00
* `syntect.theme` is the key that should be used for syntax highlighting
* `syntect.theme_dir` is the directory that should be read and loaded to find syntax themes
{% endblock content %}