20 lines
642 B
Markdown
20 lines
642 B
Markdown
|
{% 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
|
||
|
```
|
||
|
|
||
|
* `roxy.slug_wold_limit` limits the amount of words during slug generation
|
||
|
* `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 %}
|
||
|
|