VOOZH about

URL: https://www.nuget.org/packages/MudBlazor.Markdown/

⇱ NuGet Gallery | MudBlazor.Markdown 9.0.0


ο»Ώ

πŸ‘ Image
MudBlazor.Markdown 9.0.0

dotnet add package MudBlazor.Markdown --version 9.0.0
 
 
NuGet\Install-Package MudBlazor.Markdown -Version 9.0.0
 
 
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="MudBlazor.Markdown" Version="9.0.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MudBlazor.Markdown" Version="9.0.0" />
 
Directory.Packages.props
<PackageReference Include="MudBlazor.Markdown" />
 
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 MudBlazor.Markdown --version 9.0.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MudBlazor.Markdown, 9.0.0"
 
 
#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 MudBlazor.Markdown@9.0.0
 
 
#: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=MudBlazor.Markdown&version=9.0.0
 
Install as a Cake Addin
#tool nuget:?package=MudBlazor.Markdown&version=9.0.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

πŸ‘ Version
πŸ‘ Nuget downloads

Markdown component for MudBlazor

This README covers configuration steps for Blazor Server and Blazor WebAssembly. For images of how the markup component looks like in the browser go to the .

πŸ“˜ Documentation

πŸš€ Getting started

NB! MudBlazor does not work well with the static SSR format because some code is executed in OnAfterRender or OnAfterRenderAsync that is not invoked by default.
Specify @rendermode="InteractiveServer" on the markdown component to make it work (e.g. <MudMarkdown @rendermode="InteractiveServer" Value="some markdown here" />)

Install the NuGet package.

dotnet add package MudBlazor.Markdown

Add the following using statement in _Imports.razor.

@using MudBlazor

Add the following nodes in either App.razor or MainLayout.razor.

<MudThemeProvider />
<MudPopoverProvider />
<MudDialogProvider />
<MudSnackbarProvider />

Add the following nodes in Pages/_Host.cstml (Server) or wwwroot/index.html (WebAssembly).
In the <head> node add these CSS stylesheets.

<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
<link href="_content/MudBlazor.Markdown/MudBlazor.Markdown.min.css" rel="stylesheet" />

At the bottom of the <body> node add this JS source.

<script src="_content/MudBlazor/MudBlazor.min.js"></script>
<script src="_content/MudBlazor.Markdown/MudBlazor.Markdown.min.js"></script>

Register MudBlazor services in the DI container.
For the Blazor Server in the Startup.cs add this method.

public void ConfigureServices(IServiceCollection services)
{
 services.AddMudServices();
 services.AddMudMarkdownServices();
 // Optionally if the default clipboard functionality fails it is possible to add a custom service
 // NB! MauiClipboardService is just an example
 services.AddMudMarkdownClipboardService<MauiClipboardService>();
}

For the Blazor WebAssembly in the Program.cs add this method.

var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.Services.AddMudServices();
builder.Services.AddMudMarkdownServices();
// Optionally if the default clipboard functionality fails it is possible to add a custom service
// NB! MauiClipboardService is just an example
builder.Services.AddMudMarkdownClipboardService<MauiClipboardService>();

πŸ’» Example Usage

<MudText Typo="Typo.h3">My markdown</MudText>
<MudMarkdown Value="@Value" />

@code
{
 private string Value { get; } = "text *italics* and **bold**";
}
Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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 (8)

Showing the top 5 NuGet packages that depend on MudBlazor.Markdown:

Package Downloads
MudBlazor.Extensions

MudBlazor.Extensions is a small extension library for MudBlazor from https://mudblazor.com/

Jakar.Extensions.Blazor

Extensions to aid in development.

ModelingEvolution.Ide.Blazor

Package Description

SWSharedKernel.Web

Package Description

MedbaseComponents

Shared view code for Medbase projects.

GitHub repositories (6)

Showing the top 6 popular GitHub repositories that depend on MudBlazor.Markdown:

Repository Stars
kurrent-io/KurrentDB
KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
DragoQCC/CrucibleC2
A C# Command & Control framework
MindWorkAI/AI-Studio
MindWork AI Studio is a free, independent cross-platform desktop app for local and cloud LLMs across providers, built to democratize AI access.
fgilde/MudBlazor.Extensions
MudBlazor.Extensions from https://www.mudex.org is a small extension for MudBlazor from https://mudblazor.com
moonheart/mementomori-helper
γƒ‘γƒ‘γƒ³γƒˆγƒ’γƒͺ MementoMori ζΈΈζˆεŠ©ζ‰‹ Game Assistant γ‚²γƒΌγƒ γ‚’γ‚·γ‚Ήγ‚Ώγƒ³γƒˆ
discord-csharp/MODiX
Discord Bot handling basic moderation needs, soon implements statistics.
Version Downloads Last Updated
9.0.0 97,294 2/21/2026
9.0.0-preview.2 214 1/23/2026
8.11.0 286,852 8/6/2025
8.9.0 58,266 7/6/2025
8.7.0 79,166 6/10/2025
8.6.0 55,056 5/1/2025
8.5.1.1 18,267 4/27/2025
8.5.1 14,868 4/19/2025
8.0.0 133,207 1/25/2025
7.14.0 104,862 10/23/2024
7.8.0 55,029 9/7/2024
1.0.2 96,652 6/5/2024
1.0.1 80,332 5/31/2024
1.0.0 21,890 5/19/2024
1.0.0-preview.1 162 6/6/2024
0.1.3 113,591 12/11/2023
0.1.2 62,856 8/6/2023
0.1.1 40,951 5/27/2023
0.1.0 63,874 1/15/2023
0.0.12 64,846 8/28/2022
Loading failed