Blake.MarkdownParser 1.0.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package Blake.MarkdownParser --version 1.0.7
                    
NuGet\Install-Package Blake.MarkdownParser -Version 1.0.7
                    
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="Blake.MarkdownParser" Version="1.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Blake.MarkdownParser" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="Blake.MarkdownParser" />
                    
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 Blake.MarkdownParser --version 1.0.7
                    
#r "nuget: Blake.MarkdownParser, 1.0.7"
                    
#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.
#:package Blake.MarkdownParser@1.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Blake.MarkdownParser&version=1.0.7
                    
Install as a Cake Addin
#tool nuget:?package=Blake.MarkdownParser&version=1.0.7
                    
Install as a Cake Tool

<div align="center">

<a href="https://blake-ssg.org" target="_blank" title="Go to the Blake website"><img width="196px" alt="blake logo" src="https://raw.githubusercontent.com/matt-goldman/blake/refs/heads/main/assets/blake.svg"></a>

Blake

</div>

Bake your Blazor into beautiful static sites.

Note: This is an ongoing, experimental WIP

Quick start

Install the CLI:

dotnet tool install -g blake

Generate static content:

blake bake

Run a Blake site:

dotnet run

(simples!)

Add Blake to an existing site:

blake init

Build a regular Blazor site with Blake:

blake bake

Why? A Blake template is just a Blazor WASM app with an MSBuild task that uses Blake to generate Razor files from templates. If for whatever reason you don't want to do that, Blake can generate files in any Blazor WASM app. If you have template.razor files that follow Blake templating conventions, and Markdown files in the same folders, Blake will generate Razor files by combining the content and template. If you want to keep your templated content generation separate from your build and run, you can do it this way.

Create a new Blake site:

blake new

Optionally to specify a template, use --template or the alias -t and specify a template name:

blake new --template docs

or:

blake new -t blog

Why Blake?

Blake (a portmanteau of Blazor and Bake) was born from my frustration with existing static site generators. They're all good in their own ways, but I wanted something closer to my comfort zone.

Yes, pushing yourself and learning new things is great. But I already have enough new things to learn. Documenting what I learn on my blog shouldn't be yet another thing to learn.

Guided by Occam's Razor: the solution with the fewest assumptions is often the best.

Other static site generators often feel like Rube Goldberg machines:

"Ok so you put layouts in this folder, then you template them using this weird syntax, then you sprinkle in cryptic config, then you manage separate folders for posts vs pages, then finally with a sprinkle of fairy dust it might build."

Blake's approach:

  • Put whatever you want wherever you want.
  • If a folder contains a template.razor, file and that template includes recognized placeholders, any Markdown files in that folder will be rendered with it and added to the global site index.
  • Routes are auto-generated based on folder structure.

✅ No arcane templating languages.
✅ No endless config.
✅ No hidden assumptions.
✅ Just Blazor. Just .NET. Just bake.

Blake embodies the true meaning of Occam's Razor — it minimizes assumptions and keeps things honest, intuitive, and familiar for developers who already know .NET and HTML.

Why not Hugo, Jekyll, etc.?

Other static site generators are fantastic. Each has its own strengths, thriving communities, and great track records. But they also often come with assumptions that may not suit every developer:

  • Assumes you want to learn a new templating language (e.g., Liquid, Go templates).
  • Assumes you're happy to wrangle extra config formats (YAML, TOML, etc.).
  • Assumes you'll maintain separate folders for content, layouts, and partials.
  • Assumes you're willing to adopt an entirely new mental model for building and structuring a site.

Blake's philosophy is different: fewer assumptions.

  • You already know .NET.
  • You already use Blazor or Razor syntax.
  • You want to drop content wherever it makes sense to you.

Blake doesn't try to be everything to everyone; it tries to be exactly what feels intuitive to Blazor and .NET developers who just want to write and publish.

Blake Philosophy

Blake is built around simplicity, minimalism, and transparency. No config, no ceremony, just Razor and Markdown, rendered where you put them.

We believe:

  • Content and structure should be self-evident from folder layout.
  • If it's not in the content or the template, it doesn't exist.
  • Complexity belongs in templates or plugins, not the generator.
  • Developers deserve to understand and own their build process.

Read the full Blake Philosophy

Docs

Check the wiki (coming soon) for detail on templating conventions, documentation for the starter templates, and how to create (and share) your own templates.


Let's bake. 🍞🚀

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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 Blake.MarkdownParser:

Package Downloads
Blake.BuildTools

A static site generator inspired by Occam's Blazor

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.22 159 9/1/2025
1.0.21 132 8/31/2025
1.0.20 247 8/25/2025
1.0.19 198 8/24/2025
1.0.18 129 8/16/2025
1.0.17 110 8/15/2025
1.0.16 116 8/15/2025
1.0.15 131 8/12/2025
1.0.14 143 8/11/2025
1.0.13 136 8/11/2025
1.0.12 304 8/5/2025
1.0.11 206 8/5/2025
1.0.10 178 8/3/2025
1.0.9 67 8/3/2025
1.0.8 67 8/2/2025
1.0.7 52 8/2/2025
1.0.6 51 8/2/2025
0.0.1-preview2 426 7/25/2025