PSC.Blazor.Components.MarkdownEditor 1.0.1

.NET 5.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package PSC.Blazor.Components.MarkdownEditor --version 1.0.1
NuGet\Install-Package PSC.Blazor.Components.MarkdownEditor -Version 1.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="PSC.Blazor.Components.MarkdownEditor" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PSC.Blazor.Components.MarkdownEditor --version 1.0.1
#r "nuget: PSC.Blazor.Components.MarkdownEditor, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install PSC.Blazor.Components.MarkdownEditor as a Cake Addin
#addin nuget:?package=PSC.Blazor.Components.MarkdownEditor&version=1.0.1

// Install PSC.Blazor.Components.MarkdownEditor as a Cake Tool
#tool nuget:?package=PSC.Blazor.Components.MarkdownEditor&version=1.0.1

Blazor Markdown Editor

This is a Markdown Editor for use in Blazor. It contains a live preview as well as an embeded help guide for users.


Add the Editor to your _Imports.razor

@using PSC.Blazor.Components.MarkdownEditor

Then, inside of an EditForm reference the editor component and bind it.

<EditForm OnValidSubmit="DoSave" Model="model">
    <MarkdownEditor @bind-Value="model.Comments"/>

The editor binds the markdown text, not parsed HTML.

The toolbar is added by default. You can disable this by passing EnableToolbar="false" into the component.


Write Markdown text image

Preview image

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.10 3,752 5/16/2022
2.0.9 574 3/3/2022
2.0.8 172 2/22/2022
2.0.7 169 2/22/2022
2.0.6 270 1/25/2022
2.0.5 186 1/25/2022
2.0.4 182 1/21/2022
2.0.3 192 1/11/2022
2.0.2 178 1/11/2022
2.0.1 185 1/11/2022
1.0.1 196 11/5/2021

Simple Markdown editor with preview