From a63594c572901ff6a0dd5ee2ba09b2c62c4482e5 Mon Sep 17 00:00:00 2001 From: The-Lum <86879521+The-Lum@users.noreply.github.com> Date: Sun, 10 Nov 2024 20:45:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20fix=20stdlib=20code=20preview=20?= =?UTF-8?q?with=20highlight?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _layouts/stdlib.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/_layouts/stdlib.html b/_layouts/stdlib.html index 926f83e6..f69fc8dd 100644 --- a/_layouts/stdlib.html +++ b/_layouts/stdlib.html @@ -11,11 +11,10 @@

Sdtlib Diagram Code

This diagram was created from the following PlantUML code: -
-    
-{% include_relative input/{{ page.name }}.puml %}
-    
-
+{% capture my_code %}{% include_relative input/{{ page.name }}.puml %}{% endcapture %} +{% highlight plantuml %} + {{ my_code | strip }} +{% endhighlight %}

Available Themes

@@ -39,4 +38,4 @@

{{ page.display_name }} shown in {{ skin.display_name } {% include figure.html theme=skin diagram=page url=url %} -{% endfor %} \ No newline at end of file +{% endfor %}