File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
BasedOnStyles = Vale
3
3
4
4
# Exclude `{{< ... >}}`, `{{% ... %}}`, [Who]({{< ... >}})
5
- TokenIgnores = ({{[%<] .* [%>]}}.*?{{[%<] ?/.* [%>]}}), \
6
- (\[.+\]\({{< .+ >}}\)), \
7
- ({{[%<] .+ [%>]}})
5
+ TokenIgnores = ({{[%<](?:/\*)? .* (?:\*/)? [%>]}}.*?{{[%<](?:/\*| ) ?/.* (?:\*/)? [%>]}}), \
6
+ (\[.+\]\({{<(?:/\*)? .+ (?:\*/)? >}}\)), \
7
+ ({{[%<](?:/\*)? .+ (?:\*/)? [%>]}})
8
8
9
9
# Exclude `{{< myshortcode `This is some <b>HTML</b>, ... >}}`
10
- BlockIgnores = (?sm)^({{[%<] [^{]*? [%>]}})\n$, \
11
- (?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}}), \
12
- ({{[%<] .+ [%>]}})
10
+ BlockIgnores = (?sm)^({{[%<](?:/\*)? [^{]*? (?:\*/)? [%>]}})\n$, \
11
+ (?s) *({{<(?:/\*)? highlight [^>]*(?:\*/| ) ?>}}.*?{{<(?:/\*| ) ?/ ?highlight (?:\*/)? >}}), \
12
+ ({{[%<](?:/\*)? .+ (?:\*/)? [%>]}})
You can’t perform that action at this time.
0 commit comments