Render markdown on hosted pages

This commit is contained in:
2025-11-22 13:28:37 +08:00
parent bd1715c9a3
commit c806365a81
4 changed files with 105 additions and 84 deletions

View File

@@ -6,7 +6,7 @@
}
<div class="container mx-auto px-8 py-8">
<h1 class="text-3xl font-bold mb-8">
<h1 class="text-3xl font-bold mb-8 px-5">
<span class="mdi mdi-note-text-outline"></span> Posts
</h1>
@@ -36,7 +36,7 @@
}
</section>
}
<p>@post.Content</p>
<p>@Html.Raw(post.Content)</p>
</div>
@if (post.Attachments.Any())