Parse Markdown Front Matter With C#

2022-02-18

Learn how to parse YAML front matter with C# in this blog post by Khalid Abuhakmeh. YAML is tricky syntax that promotes itself as a human-friendly data serialization standard for all programming languages. This post uses Markdig to parse a blog posts front matter, and includes a sample front matter format for a blog engine written in Ruby. The post also includes C# code for creating a class representing the front matter, and an extension method for the Markdig MarkdownDocument class to pull the YAML front matter.

Link [ https://khalidabuhakmeh.com/parse-markdown-front-matter-with-csharp ]

Previous Article

Parse Markdown Front Matter With C#

2022-02-18

Learn how to parse YAML front matter with C# in this blog post by Khalid Abuhakmeh. YAML is tricky syntax that promotes itself as a human-friendly data serialization standard for all programming languages. This post uses Markdig to parse a blog posts front matter, and includes a sample front matter format for a blog engine written in Ruby. The post also includes C# code for creating a class representing the front matter, and an extension method for the Markdig MarkdownDocument class to pull the YAML front matter.

Link [ https://khalidabuhakmeh.com/parse-markdown-front-matter-with-csharp ]

Copyright © 2024 All rights reserved

Rss

Atom