feat: add markdown editor component with extensible toolbar system
Release NuGet Packages / pack-and-push (release) Successful in 3m28s

- Add SbMarkdownEditor component with EasyMDE and CodeMirror integration
  - Implement IMdToolbarContributor interface for extensible toolbar customization
  - Add MdToolbarService and MdToolbarOptions for toolbar management
  - Include vendor libraries (CodeMirror, EasyMDE, Mermaid, Highlight.js)
  - Add markdown editor interop and JavaScript integration
  - Refactor SbMarkdownViewer to support both embedded and standalone modes
  - Add demo page and localization keys for markdown editor
  - Normalize whitespace and line endings across all component files
This commit is contained in:
2026-06-22 12:36:34 +03:30
parent 87a3894d92
commit f9ba4f2980
46 changed files with 25768 additions and 60 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# SbMarkdownViewer
Renders markdown content as HTML using the Markdig library. Supports advanced markdown extensions including tables, task lists, and code blocks.
Renders markdown content as HTML using client-side marked.js (offline). Supports mermaid diagrams, syntax highlighting, and alert callouts.
## Parameters
@@ -17,7 +17,7 @@ Renders markdown content as HTML using the Markdig library. Supports advanced ma
## Markdown Features
The component uses Markdig with advanced extensions enabled, supporting:
The component uses marked.js with GFM support, loaded offline from SufiBlazor vendor assets:
- **Standard Markdown**: Headings, paragraphs, lists, links, images, emphasis
- **Extended Syntax**: Tables, task lists, strikethrough