Skip to content

Commit 3b67137

Browse files
committed
Fix relref
1 parent 77e73e3 commit 3b67137

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

testdata/shortcodes/.vale.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ BasedOnStyles = Vale
33

44
# Exclude `{{< ... >}}`, `{{% ... %}}`, [Who]({{< ... >}})
55
TokenIgnores = ({{[%<] .* [%>]}}.*?{{[%<] ?/.* [%>]}}), \
6-
(\[\w+\]\({{< .+ >}}\))
6+
(\[.+\]\({{< .+ >}}\))
77

88
# Exclude `{{< myshortcode `This is some <b>HTML</b>, ... >}}`
99
BlockIgnores = (?sm)^({{[%<] [^{]*? [%>]}})\n$, \

testdata/shortcodes/test.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ hidecaption
4949

5050
Shortcodes are non-standard markup that appears within normal Markdown.
5151

52+
[Contact us]({{< relref "contact/index.md" >}}) if you have any questions.
53+
54+
Shortcodes are non-standard markup that appears within normal Markdown.

testdata/test.ct

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ test.md:38:1:Vale.Spelling:Did you really mean 'Shortcodes'?
1111
test.md:42:1:Vale.Spelling:Did you really mean 'Shortcodes'?
1212
test.md:46:1:Vale.Spelling:Did you really mean 'hidecaption'?
1313
test.md:50:1:Vale.Spelling:Did you really mean 'Shortcodes'?
14+
test.md:54:1:Vale.Spelling:Did you really mean 'Shortcodes'?

0 commit comments

Comments
 (0)