File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
# Exclude `{{< ... >}}`, `{{% ... %}}`, [Who]({{< ... >}})
3
3
TokenIgnores = ({{[%<] .* [%>]}}.*?{{[%<] ?/.* [%>]}}), \
4
4
(\[.+\]\({{< .+ >}}\)), \
5
- ({{[%<] .+ [%>]}})
5
+ [^\S\r\n] ({{[%<] \w+ .+ [%>]}})\s, \
6
+ [^\S\r\n] ({{[%<](?:/\*) .* (?:\*/)[%>]}})\s
6
7
7
8
# Exclude `{{< myshortcode `This is some <b>HTML</b>, ... >}}`
8
- BlockIgnores = (?sm)^({{[%<] [^{]*? [%>]}})\n$, \
9
- (?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}}), \
10
- ({{[%<] .+ [%>]}})
9
+ BlockIgnores = (?sm)^({{[%<] \w+ [^{]*?\s[%>]}})\n$, \
10
+ (?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}})
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ Shortcodes are non-standard markup that appears within normal Markdown.
11
11
12
12
Shortcodes are non-standard markup that appears within normal Markdown.
13
13
14
- {{< myshortcode This is some <b >HTML</b >,
14
+ {{< myshortcode This is some <b >HTML</b >,
15
15
and a new line with a "quoted string". >}}
16
16
17
17
Shortcodes are non-standard markup that appears within normal Markdown.
18
18
19
- {{< myshortcode This is some <b >HTML</b >,. >}}
19
+ {{< myshortcode This is some <b >HTML</b >,. >}}
20
20
21
21
Shortcodes are non-standard markup that appears within normal Markdown.
22
22
You can’t perform that action at this time.
0 commit comments