Skip to content

Commit

Permalink
🩹 fix stdlib code preview with highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Lum authored Nov 10, 2024
1 parent 5368bbf commit a63594c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions _layouts/stdlib.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ <h3>Sdtlib Diagram Code</h3>

This diagram was created from the following PlantUML code:

<pre>
<code class="language-puml">
{% include_relative input/{{ page.name }}.puml %}
</code>
</pre>
{% capture my_code %}{% include_relative input/{{ page.name }}.puml %}{% endcapture %}
{% highlight plantuml %}
{{ my_code | strip }}
{% endhighlight %}

<h3>Available Themes</h3>

Expand All @@ -39,4 +38,4 @@ <h4 id="{{ skin.name }}">{{ page.display_name }} shown in {{ skin.display_name }

{% include figure.html theme=skin diagram=page url=url %}

{% endfor %}
{% endfor %}

0 comments on commit a63594c

Please sign in to comment.