From 1742083debc5c4a54cf87c46b1f6bb8448e2f792 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Wed, 17 Jan 2024 17:21:49 +0100 Subject: [PATCH] Automatic update of vale configuration for hugo --- Documentation/.vale/.vale-config/0-Hugo.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/.vale/.vale-config/0-Hugo.ini b/Documentation/.vale/.vale-config/0-Hugo.ini index 3b014081dff..b0d6257decb 100644 --- a/Documentation/.vale/.vale-config/0-Hugo.ini +++ b/Documentation/.vale/.vale-config/0-Hugo.ini @@ -1,8 +1,10 @@ [*.md] # Exclude `{{< ... >}}`, `{{% ... %}}`, [Who]({{< ... >}}) TokenIgnores = ({{[%<] .* [%>]}}.*?{{[%<] ?/.* [%>]}}), \ -(\[.+\]\({{< .+ >}}\)) +(\[.+\]\({{< .+ >}}\)), \ +({{[%<] .+ [%>]}}) # Exclude `{{< myshortcode `This is some <b>HTML</b>, ... >}}` BlockIgnores = (?sm)^({{[%<] [^{]*? [%>]}})\n$, \ -(?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}}) +(?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}}), \ +({{[%<] .+ [%>]}}) -- GitLab