aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/templates/partials/mdhelp.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/templates/partials/mdhelp.html')
-rw-r--r--internal/web/templates/partials/mdhelp.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/web/templates/partials/mdhelp.html b/internal/web/templates/partials/mdhelp.html
index 878130e..4623c07 100644
--- a/internal/web/templates/partials/mdhelp.html
+++ b/internal/web/templates/partials/mdhelp.html
@@ -1,9 +1,9 @@
-{{define "mdhelp"}}<div class="card help">
- <h3>Formatting cheat-sheet</h3>
+{{define "mdhelp"}}<details class="help">
+ <summary>Formatting cheat-sheet</summary>
<table class="cheat">
<tr><td><code># Heading</code>, <code>## Smaller heading</code></td><td><code>**bold**</code>, <code>*italic*</code></td></tr>
- <tr><td><code>[link text](https://example.org)</code></td><td><code>![description](/media/…)</code> — copy the address from <em>Images</em></td></tr>
+ <tr><td><code>[link text](https://example.org)</code></td><td><code>![description](/media/…)</code> — or use <em>Insert image</em></td></tr>
<tr><td><code>- list item</code> / <code>1. numbered</code></td><td><code>&gt; quote</code>, <code>`code`</code>, <code>---</code> for a line</td></tr>
</table>
- <p class="muted">Blank line = new paragraph. Press Enter once for a line break.</p>
-</div>{{end}}
+ <p class="muted small">Blank line = new paragraph. Press Enter once for a line break.</p>
+</details>{{end}}