add markdown formatting with code support

This commit is contained in:
2026-09-01 11:19:13 +00:00
parent 4822125787
commit 0994f31281
7 changed files with 93 additions and 2 deletions

View File

@@ -52,7 +52,9 @@
name="content"
bind:value={content}
rows="20"
class="rounded border border-gray-300 px-3 py-2 font-mono text-sm outline-none"></textarea>
class="rounded border border-gray-300 px-3 py-2 font-body text-base leading-relaxed text-gray-900 outline-none"
></textarea>
<p class="-mt-2 text-xs text-gray-400">Supports Markdown formatting.</p>
<div class="flex justify-end gap-2">
<button