feat: add Markdig markdown rendering for blog posts
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m47s
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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user