Home

Awesome

A Markdown compiler for ASP.NET Core

Build status NuGet

This package compiles markdown files into HTML by hooking into the LigerShark.WebOptimizer pipeline.

Usage

You can reference any markdown file directly in the browser and a compiled and HTML document will be served. To set that up, do this:

services.AddWebOptimizer(pipeline =>
{
    pipeline.CompileMarkdownFiles();
});

Or if you just want to parse specific markdown files, do this:

services.AddWebOptimizer(pipeline =>
{
    pipeline.CompileMarkdownFiles("/path/file1.md", "/path/file2.md");
});