-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from 3mdeb/ignore_codeblocks
namespell: Ignore text inside code blocks
- Loading branch information
Showing
4 changed files
with
183 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Section | ||
|
||
This zarhus should be detected as a mistake. <!-- but this zarhus shouldn't --> | ||
|
||
Zarhus `zarhus` Dasharo dasharo | ||
|
||
```text | ||
zarhus | ||
dasharo | ||
``` | ||
|
||
## This zarhus is a mistake | ||
|
||
<!-- | ||
dasharo | ||
--> | ||
dasharo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This document shall have no errors: `zarhus` | ||
|
||
This is inline `zarhus and yocto` and this is inline comment<!-- zarhus --> to be ignored | ||
<!-- This | ||
is block comment and everything zarhus and yocto should be ignored even inline `zarhus` | ||
zarhus | ||
--> | ||
|
||
```text | ||
This zarhus | ||
this zarhus and yocto should be zarhus ignored | ||
and `zarhus` this zarhus | ||
``` | ||
|
||
1. Indented code block | ||
|
||
```text | ||
This zarhus | ||
should be zarhus also ignored | ||
and `zarhus` this zarhus | ||
``` | ||
It's also possible to disable zarhus and yocto rule inline <!-- namespell:disable Zarhus, Yocto --> | ||
All rules disabled: zarhus, yocto, uefi, nvidia <!-- namespell:disable --> |