From 7183621d847d673a7f4eaa12bc42f7d36016f0ef Mon Sep 17 00:00:00 2001
From: Zakhar Bessarab <z.bessarab@victoriametrics.com>
Date: Mon, 9 Oct 2023 18:57:25 +0400
Subject: [PATCH] docs/enterprise: fix rendering of example alert (#5137)

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
---
 docs/enterprise.md | 2 ++
 docs/vmanomaly.md  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/docs/enterprise.md b/docs/enterprise.md
index 8e8d6b724a..07fb1af694 100644
--- a/docs/enterprise.md
+++ b/docs/enterprise.md
@@ -258,6 +258,7 @@ Please, refer to monitoring section of each component for details on how to scra
 `vm_license_expires_in_seconds` is the amount of seconds until the license expires.
 
 Example alerts for [vmalert](https://docs.victoriametrics.com/vmalert.html):
+{% raw %}
 ```yaml
 groups:
   - name: vm-license
@@ -281,3 +282,4 @@ groups:
           description: "{{ $labels.instance }} of job {{ $labels.job }} license expires in {{ $value | humanizeDuration }}. 
             Please make sure to update the license before it expires."
 ```
+{% endraw %}
diff --git a/docs/vmanomaly.md b/docs/vmanomaly.md
index 701aebbe4e..be9c25f82d 100644
--- a/docs/vmanomaly.md
+++ b/docs/vmanomaly.md
@@ -206,6 +206,7 @@ vm_license_expires_in_seconds 4.886608e+06
 ```
 
 Example alerts for [vmalert](https://docs.victoriametrics.com/vmalert.html):
+{% raw %}
 ```yaml
 groups:
   - name: vm-license
@@ -229,3 +230,4 @@ groups:
           description: "{{ $labels.instance }} of job {{ $labels.job }} license expires in {{ $value | humanizeDuration }}. 
             Please make sure to update the license before it expires."
 ```
+{% endraw %}