mirror of https://github.com/docker/docs.git
vale: update Hugo config package
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
51853b6ca9
commit
bde3b3641d
|
|
@ -1,8 +1,10 @@
|
|||
[*.md]
|
||||
# Exclude `{{< ... >}}`, `{{% ... %}}`, [Who]({{< ... >}})
|
||||
TokenIgnores = ({{[%<] .* [%>]}}.*?{{[%<] ?/.* [%>]}}), \
|
||||
(\[.+\]\({{< .+ >}}\))
|
||||
(\[.+\]\({{< .+ >}}\)), \
|
||||
[^\S\r\n]({{[%<] \w+ .+ [%>]}})\s, \
|
||||
[^\S\r\n]({{[%<](?:/\*) .* (?:\*/)[%>]}})\s
|
||||
|
||||
# Exclude `{{< myshortcode `This is some <b>HTML</b>, ... >}}`
|
||||
BlockIgnores = (?sm)^({{[%<] [^{]*? [%>]}})\n$, \
|
||||
BlockIgnores = (?sm)^({{[%<] \w+ [^{]*?\s[%>]}})\n$, \
|
||||
(?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}})
|
||||
|
|
|
|||
Loading…
Reference in New Issue