EPS.Extensions.YamlMarkdown 6.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package EPS.Extensions.YamlMarkdown --version 6.0.1
                    
NuGet\Install-Package EPS.Extensions.YamlMarkdown -Version 6.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EPS.Extensions.YamlMarkdown" Version="6.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EPS.Extensions.YamlMarkdown" Version="6.0.1" />
                    
Directory.Packages.props
<PackageReference Include="EPS.Extensions.YamlMarkdown" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EPS.Extensions.YamlMarkdown --version 6.0.1
                    
#r "nuget: EPS.Extensions.YamlMarkdown, 6.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=EPS.Extensions.YamlMarkdown&version=6.0.1
                    
Install as a Cake Addin
#tool nuget:?package=EPS.Extensions.YamlMarkdown&version=6.0.1
                    
Install as a Cake Tool

YamlMarkdown

This NuGet package combines YamlDotNet and the Markdig Markdown parsing engine and makes a dead-simple class for parsing a file or TextReader object and deserializing your YAML object type as well as giving you your content in the original Markdown and generic HTML renderings.

The Markdig plugin uses a YAML front matter extension that will parse a YAML front matter into the MarkdownDocument.

Ours treats the YAML front matter as a completely separate object to be used for other purposes (SEO metadata in our use case).

How It Works

// Article in this case is a class of metadata properties 
// saved in the YAML
var parser = new YamlMarkdown<Article>();

// we get the Article object here
var article = parser.Parse("article.md");

//...and here
Console.WriteLine(parser.DataObject);

//...and the markup (separate from the YAML) here
Console.WriteLine(parser.Markdown);

//...and the parsed HTML here
Console.WriteLine(parser.Html);

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on EPS.Extensions.YamlMarkdown:

Package Downloads
MeshWeaver.Markdown

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.0 979 6/18/2024
6.1.0 237 12/29/2023
6.0.2 392 2/1/2023
6.0.1 371 12/13/2022
6.0.0 384 1/5/2022
5.0.0 415 5/13/2021
1.0.0 589 8/25/2020
0.9.0 519 6/27/2020
0.8.0 573 5/18/2020
0.7.0 654 3/30/2020
0.6.0 613 2/4/2020
0.5.0 575 2/4/2020
0.4.0 613 10/25/2019
0.3.0 608 10/18/2019
0.2.0 609 10/15/2019
0.1.0 640 6/27/2019

Dependency updates