Replies: 5 comments 6 replies
-
I'm the author of the underlying library that performs the spell checking. The Markdown "filter" simply converts the Markdown content into HTMl. The best way to avoid code blocks is to use the HTML filter right after and exclude code blocks. Example: https://github.com/facelessuser/pyspelling/blob/master/.pyspelling.yml#L77 |
Beta Was this translation helpful? Give feedback.
-
Hi @arivictor Good question, I will update the documentation for the action, based on the resource from @facelessuser so it is more clear. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am running into a similar issue where the spellchecker is erroring on text within a code block. For example, I have the following code block in my markdown file:
And the action outputs the following:
As such, I don't expect an error for My
Any ideas what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
-
I have played around with your example and it seems to have issues with the Markdown.
This example gets ignored (works):
This does not:
And this does not, I removed the
@facelessuser it there something, which have to be specified additionally in the configuration to get the fences to be respected. All of the above examples where tested embedded in a Markdown file, using the above configuration. |
Beta Was this translation helpful? Give feedback.
-
Documentation has been updated, see: Closing the discussion |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm looking to use your action in my pipeline. I'm running it over my markdown docs, its catching spelling mistakes very well but its also picking up issues in the example code blocks in the markdown files. To reduce the noise, is it possible to ignore the code blocks?
My config:
I'm looking at the example configs from PySpell and it has this:
Is there a similar boolean toggle for markdown to ignore code blocks?
Ty!
Beta Was this translation helpful? Give feedback.
All reactions