Created
November 1, 2020 23:45
-
-
Save fsanggang/ebd4d7e65caaa002f9b0e68b763deb9c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Post.cs | |
| using Markdig; | |
| namespace Golb.Data | |
| { | |
| public class Post | |
| { | |
| ... etc | |
| public string MarkupString { | |
| get | |
| { | |
| return this.Body == null ? "" : Markdown.ToHtml(this.Body); | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment