Skip to content

Commit

Permalink
Fix incorrect documentation for syntax directory
Browse files Browse the repository at this point in the history
extra_syntaxes_and_themes is loaded from config.toml [markdown], and
used as both syntax and color theme search paths. Following the docs and
trying to set the extra_syntaxes property in config.toml [markdown] does
nothing, and getzola#1723 ran into this issue.

Change the docs to consistently reference extra_syntaxes_and_themes.
  • Loading branch information
nyanpasu64 committed Jun 16, 2022
1 parent 5873e03 commit 8e43bcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/documentation/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ build_search_index = false
# When set to "true", all code blocks are highlighted.
highlight_code = false

# A list of directories used to search for additional `.sublime-syntax` files.
extra_syntaxes = []
# A list of directories used to search for additional `.sublime-syntax` and `.tmTheme` files.
extra_syntaxes_and_themes = []

# The theme to use for code highlighting.
# See below for list of allowed values.
Expand Down

0 comments on commit 8e43bcb

Please sign in to comment.