Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vale is using accept.txt rules inside hugo blocks when it should not #5

Open
1 task done
David-Else opened this issue Aug 27, 2024 · 4 comments
Open
1 task done

Comments

@David-Else
Copy link

Check for existing issues

  • Completed

Environment

Linux
downloaded from github releases
vale version 3.7.1

Describe the bug / provide steps to reproduce it

Vale insists on trying to correct the word udemy inside a markdown file when it is clearly meant to be exempt, if I change other words inside src= it does not attempt to correct them.

image

image

~/.config/vale/.vale.ini

StylesPath = styles

Vocab = Blog

MinAlertLevel = suggestion

Packages = Microsoft, Hugo

[*]
BasedOnStyles = Vale, Microsoft

Microsoft.We = NO
Microsoft.FirstPerson = NO
Microsoft.SentenceLength = NO

~/.config/vale/

$ tree           
.
├── styles
│   ├── config
│   │   └── vocabularies
│   │       └── Blog
│   │           ├── accept.txt
│   │           └── reject.txt
│   ├── .vale-config
│   │   └── 1-Hugo.ini
│   └── Microsoft
│       ├── Wordiness.yml
│       ├── We.yml
│       ├── Vocab.yml
│       ├── URLFormat.yml
│       ├── Units.yml
│       ├── Terms.yml
│       ├── Suspended.yml
│       ├── Spacing.yml
│       ├── SentenceLength.yml
│       ├── Semicolon.yml
│       ├── RangeTime.yml
│       ├── Quotes.yml
│       ├── Plurals.yml
│       ├── Percentages.yml
│       ├── Passive.yml
│       ├── OxfordComma.yml
│       ├── Ordinal.yml
│       ├── Negative.yml
│       ├── meta.json
│       ├── Hyphens.yml
│       ├── Headings.yml
│       ├── HeadingPunctuation.yml
│       ├── HeadingColons.yml
│       ├── HeadingAcronyms.yml
│       ├── GeneralURL.yml
│       ├── Gender.yml
│       ├── GenderBias.yml
│       ├── Foreign.yml
│       ├── FirstPerson.yml
│       ├── Ellipses.yml
│       ├── DateOrder.yml
│       ├── DateNumbers.yml
│       ├── DateFormat.yml
│       ├── Dashes.yml
│       ├── Contractions.yml
│       ├── Avoid.yml
│       ├── Auto.yml
│       ├── AMPM.yml
│       ├── Adverbs.yml
│       ├── Acronyms.yml
│       └── Accessibility.yml
├── native
└── .vale.ini
@deepakjoshi-ekline
Copy link

@David-Else were you able to figure out any way around to this Bug?

@David-Else
Copy link
Author

@deepakjoshi-ekline I am afraid not, and am hoping that @jdkato can comment here soon...

@jdkato jdkato transferred this issue from errata-ai/vale Oct 21, 2024
@jdbaldry
Copy link
Contributor

@David-Else can you provide the exact text that's pictured in the screenshot, that would be useful for reproducing the bug.

@David-Else
Copy link
Author

@David-Else can you provide the exact text that's pictured in the screenshot, that would be useful for reproducing the bug.

index.md

{{< styled-img src="mastering-the-helix-editor-udemy-course/david.webp" alt="david" class="w-3/4 mx-auto sm:w-1/5 sm:float-left sm:pr-4 h-auto" >}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants