File tree Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 1
1
[*.md]
2
2
# Exclude `{{< ... >}}`, `{{% ... %}}`, [Who]({{< ... >}})
3
3
TokenIgnores = ({{[%<] .* [%>]}}.*?{{[%<] ?/.* [%>]}}), \
4
- (\[.+\]\({{< .+ >}}\))
4
+ (\[.+\]\({{< .+ >}}\)), \
5
+ ({{[%<] .+ [%>]}})
5
6
6
7
# Exclude `{{< myshortcode `This is some <b>HTML</b>, ... >}}`
7
8
BlockIgnores = (?sm)^({{[%<] [^{]*? [%>]}})\n$, \
8
- (?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}})
9
+ (?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}}), \
10
+ ({{[%<] .+ [%>]}})
Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ BasedOnStyles = Vale
3
3
4
4
# Exclude `{{< ... >}}`, `{{% ... %}}`, [Who]({{< ... >}})
5
5
TokenIgnores = ({{[%<] .* [%>]}}.*?{{[%<] ?/.* [%>]}}), \
6
- (\[.+\]\({{< .+ >}}\))
6
+ (\[.+\]\({{< .+ >}}\)), \
7
+ ({{[%<] .+ [%>]}})
7
8
8
9
# Exclude `{{< myshortcode `This is some <b>HTML</b>, ... >}}`
9
10
BlockIgnores = (?sm)^({{[%<] [^{]*? [%>]}})\n$, \
10
- (?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}})
11
+ (?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}}), \
12
+ ({{[%<] .+ [%>]}})
Original file line number Diff line number Diff line change @@ -52,3 +52,11 @@ Shortcodes are non-standard markup that appears within normal Markdown.
52
52
[ Contact us] ({{< relref "contact/index.md" >}}) if you have any questions.
53
53
54
54
Shortcodes are non-standard markup that appears within normal Markdown.
55
+
56
+ - {{< myshortcode src="/media/spf13.jpg" title="Steve Francia" >}}
57
+
58
+ Shortcodes are non-standard markup that appears within normal Markdown.
59
+
60
+ Shortcodes can be used {{< myshortcode src="/media/spf13.jpg" title="Steve Francia" >}} inside a paragraph.
61
+
62
+ Shortcodes are non-standard markup that appears within normal Markdown.
Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ test.md:42:1:Vale.Spelling:Did you really mean 'Shortcodes'?
12
12
test.md:46:1:Vale.Spelling:Did you really mean 'hidecaption'?
13
13
test.md:50:1:Vale.Spelling:Did you really mean 'Shortcodes'?
14
14
test.md:54:1:Vale.Spelling:Did you really mean 'Shortcodes'?
15
+ test.md:58:1:Vale.Spelling:Did you really mean 'Shortcodes'?
16
+ test.md:60:1:Vale.Spelling:Did you really mean 'Shortcodes'?
17
+ test.md:62:1:Vale.Spelling:Did you really mean 'Shortcodes'?
You can’t perform that action at this time.
0 commit comments