---
# The Vultr Markdown Toolkit is released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
# https://creativecommons.org/licenses/by/4.0/
#
extends: capitalization
message: "Headings should use title case. Vultr follows the Chicago Manual of Style. "
link: https://capitalizemytitle.com/style/chicago
level: error
scope: heading
match: $title
style: Chicago
exceptions:
- macOS
Summary
In the test case described below:
panic: runtime error: index out of range [1] with length 1
, if the content oftest.md
is the lowercase title:test.md
is title case:This appears to be some interaction between Chicago style titles, and the word config appearing in the
accept.txt
Vocab file.Environment
Example
Test Case
I've created a test, attached as ValePanic.zip, which contains:
test.md
.vale.ini
.vale/test/Headings.yml
.vale/Vocab/test/accept.txt
.vale/Vocab/test/reject.txt
Contents of test.md
Contents of .vale.ini
Contents of .vale/test/Headings.yml
Contents of .vale/Vocab/test/accept.txt
.vale/Vocab/test/reject.txt is zero bytes.