Document CommentDelimiters configuration option#64
Conversation
✅ Deploy Preview for eclectic-semifreddo-be083c ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
Thanks for working on this. The intended use case for this is to replace the use of HTML syntax, so an example would look something like this: [formats]
mdx = md
[*.mdx]
BasedOnStyles = Vale
CommentDelimiters = {/*, */}and then it would be used like so: {/* vale off */}
This is some text ACT test
This is some text ACT test
{/* vale on */}
{/* vale vale.Redundancy = NO */}
This is some text ACT test
{/* vale vale.Redundancy = YES */}See testdata/fixtures/comments for a complete example. |
|
Glad to hear this is how it should work (without the double HTML and the custom comment delimiters). This is not working for me at the moment. I'm on macOS and using Vale 3.8.0. ^ FWIW, [.mdx] or [.md] above produce the same. I also tried wrapping quotes around each comment delimiters. All 'ACT test' occurrences are firing for me. Is there anything I'm doing wrong? |
|
I got the |
|
Example updated. |
Featured in 3.8.0.
Original code contribution is vale-cli/vale#900