Closed ramyaparimi closed 2 years ago
I feel like we've had this discussion a few times already, and my comment here still applies.
Your configuration, as written, isn’t going to work.
I would start by removing all TokenIgnores
entries for non-Liquid syntax.
Thanks so much for getting back. I apologize for repeatedly asking the same question. I will try deleting all the non liquid ToeknIgnores
and trying it out once more.
Thanks so much for your suggestions. I removed all non liquid regex from my vale config.
StylesPath = vale
# suggestion, warning or error
MinAlertLevel = warning
Vocab = Docs
[*.md]
BasedOnStyles = Vale,Vocab
TokenIgnores = {%.*?%}, \
{{.*?}}
Could you please let me know what I can do if terms from markdown links are picked up as error:
Could you provide the contents of (or a link to) the file?
Sorry for forgetting to include earlier. It is L21 in this link:
I can't reproduce the issue (although it looks like the file has changed since your screenshot):
Both standard Markdown links and image URLs should be ignored by default. If they aren't, it's usually due to there being either non-standard syntax in the file (such as Liquid tags) or a misbehaving BlockIgnores
/ TokenIgnores
pattern.
Thanks so much for looking into it. I noticed that when syntax/spacing isn't followed properly, Vale is picking up terms from code blocks. For example, when a new line character is added between liquid tag and code block as per , Vale isn't picking up terms from code block. I wonder if it something similar with Vale picking up from markdown links.
I will post here if I find something related to that. Thanks so much for your time and help 💖
vale -v
) 2.14.0I have a regex in TokenIgnores to ignore contents in markdown bold. Example:
**term**
. But terms in bold are still picked up as errors. Is there something I am missing to provide for TokenIgnores to not lint terms i bold? Here is my .vale.iniThis the error: