@page "/admin/blog-posts/edit/{id}" @using Markdig @using Microsoft.AspNetCore.Mvc.TagHelpers @using OliverBooth.Common.Data.Blog @model OliverBooth.Pages.Admin.EditBlogPost @inject MarkdownPipeline MarkdownPipeline @{ Layout = "Shared/_AdminLayout"; ViewData["Title"] = "Edit Post"; IBlogPost post = Model.BlogPost; }
@*
Preview
Post ID
Title
@Html.Raw(Markdown.ToHtml(post.Body, MarkdownPipeline))
*@