feat: add Markdig markdown rendering for blog posts
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m47s

- Add Markdig NuGet package (0.38.0)
- Convert blog content from markdown to HTML in Post.cshtml.cs
- Display rendered HTML content instead of raw text
- Add comprehensive markdown styling (h1-h6, lists, tables, code, etc.)
- Use TaxBaik color scheme for markdown elements

Blog posts now render properly:
 Headings (#, ##, ###)
 Bold/italic text (**text**, *text*)
 Lists (-, *, ordered)
 Tables
 Code blocks
 Blockquotes
 Links

Styling follows TaxBaik brand:
- Primary color for headings
- Warm typography (Noto Sans KR)
- Consistent spacing and borders
- Mobile-responsive design
This commit is contained in:
2026-07-01 16:34:09 +09:00
parent ed8ac34542
commit 6ffff70ece
4 changed files with 144 additions and 2 deletions
+2 -2
View File
@@ -39,8 +39,8 @@
<hr class="my-4" />
<div class="article-body lh-lg">
@Html.Raw(Model.Post.Content)
<div class="article-body lh-lg markdown-body">
@Html.Raw(Model.HtmlContent)
</div>
<hr class="my-4" />