Closed jpsenior closed 7 years ago
It sounds like caption
isn't a built-in directive to reStructuredText and needs to be registered. Please see our "Extension" documentation for the necessary info/methods:
https://github.com/twolfson/restructuredtext-lint/tree/1.1.1#extension
When using a code-block as such:
rst-lint fails with an error: 'Error in "code-block" directive: unknown option "caption"'
Omitting the caption has no error.