Undo fucked formatting on html pre block

This commit is contained in:
pancakes 2025-09-16 22:12:38 +10:00
parent bb98bec8fc
commit 2ded561ded
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw

View file

@ -97,9 +97,12 @@
<ImageButton Data="@Buttons.Pancakes"/> <ImageButton Data="@Buttons.Pancakes"/>
<details> <details>
<summary>Add my button</summary> <summary>Add my button</summary>
@* @formatter:off *@
<pre><code>&lt;a href="@Buttons.Pancakes.Href" target="_blank"&gt; <pre><code>&lt;a href="@Buttons.Pancakes.Href" target="_blank"&gt;
&lt;img src="@Buttons.Pancakes.Href@Assets[$"imgs/buttons/{Buttons.Pancakes.Image}"]" alt"@Buttons.Pancakes.Title"&gt; &lt;img src="@Buttons.Pancakes.Href@Assets[$"imgs/buttons/{Buttons.Pancakes.Image}"]" alt"@Buttons.Pancakes.Title"&gt;
&lt;/a&gt;</code></pre> &lt;/a&gt;</code></pre>
@* @formatter:on *@
<p>The image URL may change in the future. Instead of hotlinking it you should <a <p>The image URL may change in the future. Instead of hotlinking it you should <a
href="@Assets[$"imgs/buttons/{Buttons.Pancakes.Image}"]" download="pancakes.png">download the image</a> href="@Assets[$"imgs/buttons/{Buttons.Pancakes.Image}"]" download="pancakes.png">download the image</a>
manually.</p> manually.</p>