roxy-docs/in/pages/guides/configuration.md
2024-02-21 09:10:31 -05:00

642 B

{% extends "../../../layouts/topic.tera" %}

{% block content %} roxy-cli uses a configuration file in the root of the project directory, config.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_word_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 %}