-
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.
feat: Ignore tokens when they are in links or ref-links.
This will allow e.g. [#team-idp](https://link.com) and [#team-idp][slack-link]
- Loading branch information
1 parent
ccc711c
commit 0c2475a
Showing
2 changed files
with
25 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Testing of vale | ||
|
||
The following examples should all pass Techdocs-validation, even though `IDP` | ||
should normally be capitalized: | ||
|
||
Example using IDP capitalized. | ||
|
||
Example using [#team-idp](https://www.coop.no/) lowercase in a link. | ||
|
||
Example using [#team-idp][idp-ref-link] lowercase in a ref-link. | ||
|
||
Example using <https://idp> lowercase in a angle-bracket link. | ||
|
||
Example using `idp` lowercase in an inline block. | ||
|
||
```go | ||
Example using idp in a code block. | ||
``` | ||
|
||
<!-- vale off --> | ||
Example using lowercase idp in vale-disabled block. | ||
<!-- vale on --> | ||
|
||
[idp-ref-link]: https://www.coop.no/ |