Blism.Language.Yaml.Core
3.0.0
dotnet add package Blism.Language.Yaml.Core --version 3.0.0
NuGet\Install-Package Blism.Language.Yaml.Core -Version 3.0.0
<PackageReference Include="Blism.Language.Yaml.Core" Version="3.0.0" />
<PackageVersion Include="Blism.Language.Yaml.Core" Version="3.0.0" />
<PackageReference Include="Blism.Language.Yaml.Core" />
paket add Blism.Language.Yaml.Core --version 3.0.0
#r "nuget: Blism.Language.Yaml.Core, 3.0.0"
#:package Blism.Language.Yaml.Core@3.0.0
#addin nuget:?package=Blism.Language.Yaml.Core&version=3.0.0
#tool nuget:?package=Blism.Language.Yaml.Core&version=3.0.0
Blism
Blism is a simple syntax highlighter library for Blazor.

Installation
Install the package from NuGet:
dotnet add package Blism.Language.CSharp # Repeat for other languages
Usage
<CSharpSyntaxHighlighter Code="@SourceCode"/>
Supported languages
- C#
- Dart
- YAML
- Bash
- PHP
Want to add more? See Languages to add and CONTRIBUTING.md
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Blism.Core (>= 3.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Blism.Language.Yaml.Core:
| Package | Downloads |
|---|---|
|
Blism.Language.Yaml.Blazor
Adds the Blism Blazor component for YAML |
|
|
Blism.Bundle.Languages
Bundles all available Blism languages |
|
|
Blism.Language.Yaml.Wpf
Adds the Blism WPF component for YAML |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0 | 106 | 1/16/2026 |
# 3.0.0
- Added `Blism.Bundle.Languages.Blazor` and `Blism.Bundle.Languages` packages
- BREAKING: renamed `YamlStyleMapper` to `YamlTokenStyleMapper`
- Added support for WPF and added controls for all available languages
# 2.0.0
- Updated to .NET 10
- BREAKING: Reorganized packages:
- `Blism.Core` is a pure .NET package, no Blazor dependency
- `Blism.Blazor` provides Blazor infrastructure
- `Blism.Language.*` is now `Blism.Language.*.Blazor`
- BREAKING: Themes are now decoupled from Blazor and the language
- Theme is now a required parameter for `SyntaxHighlighter`
- Languages must provide a mapping from their tokens to style tokens
# 1.3.3
- Updated to .NET 9
- Added support for tokenizing PHP
- Added dark theme for PHP
- Added `PhpSyntaxHighlighter` component
# 1.3.2
- Noop release
# 1.3.1
- Fix parsing of unquoted URLs in Bash
# 1.3.0
- Added `Style` parameter to all `SyntaxHighlighter` components
# 1.2.4
- Noop release
# 1.2.3
- Noop release
# 1.2.2
- Noop release
# 1.2.1
- Noop release
# 1.2.0
- Added `BashSyntaxHighlighter` component
- Added `CSharpSyntaxHighlighter` component
- Added `DartSyntaxHighlighter` component
- Added `YamlSyntaxHighlighter` component
# 1.1.0
- Added support for tokenizing Bash
- Added dark theme for Bash
- Made highlighter methods virtual so they can be overridden
# 1.0.0
- Initial release
- Added support for tokenizing C#, Dart and YAML
- Added dark themes for C#, Dart and YAML
- Added a `SyntaxHighlighter` blazor component