This sample project demonstrates how to insert and format code snippets within the editor’s content area. Syncfusion Blazor Rich Text Editor.
- .NET 8.0 SDK or later
- Visual Studio 2022 or any IDE that supports Blazor
- Syncfusion Blazor NuGet packages
-
Clone the repository:
git clone https://github.com/SyncfusionExamples/blazor-richtexteditor-code-block.git
-
Navigate to the project folder:
cd blazor-richtexteditor-code-block
-
Restore the NuGet packages:
dotnet restore
-
Build and run the application:
dotnet run
-
Open the browser at https://localhost:port (port varies).