Expand description
This module handles the configuration I/O for the application.
Structs§
- Config
- Represents the global configuration for the application.
- Html
Config - Manages all configuration for HTML generation
- Lexer
Config - Manages all configuration for tokenization
Enums§
Functions§
- default_
css 🔒 - Sets the default CSS file to “default” in the case that the
css_file
field is omitted - default_
prism_ 🔒theme - Sets the default PrismJS theme to “vsc-dark-plus” in
config.toml
- default_
tab_ 🔒size - init_
config - Initializes the global configuration from the specified file path
- sanitize_
by_ 🔒default - Sets
sanitize_html
to true by default inconfig.toml
- validate_
config 🔒 - Validates the configuration by checking if the original config file matches the filled config