From 702fab23ad5d50a096e35495dc81dabcbac7657a Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 25 Apr 2024 10:30:51 +0200 Subject: [PATCH] Changed position of raw tag --- _repo/inventree-zebra-plugin.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_repo/inventree-zebra-plugin.md b/_repo/inventree-zebra-plugin.md index b9bb9bf5..553cf2a0 100644 --- a/_repo/inventree-zebra-plugin.md +++ b/_repo/inventree-zebra-plugin.md @@ -80,15 +80,17 @@ The label needs a template described in html and css. The template should start with a page definition that defines the label size as shown below: ``` +{% raw %} @page { - {% raw %}{% localize off %}{% endraw %} + {% localize off %} height: {{ height }}mm; width: {{ width }}mm; - {% raw %}{% endlocalize %}{% endraw %} + {% endlocalize %} padding: 0mm; margin: 0px 0px 0px 0px; background-color: white; } +{% endraw %} ``` The height and width parameters are defined in the InvenTree admin panel