Add support for Markdown with syntax highlighting

This commit is contained in:
Robert Marshall 2019-04-28 09:06:59 +01:00
parent 32eef104fb
commit 19818ef69e
5 changed files with 46 additions and 23 deletions

View file

@ -14,6 +14,6 @@
<hr />
<h2>Latest Blog Post</h2>
<h3><a href="/blog/view/@Model.Url">@Model.Title</a></h3>
@Model.Content
@Html.Raw(Model.Content)
<small>Posted on @Model.Timestamp.ToString()</small>
<p><a href="/blog/view/@Model.Url>">Read more...</a></p>