feat: add markdown editor component with extensible toolbar system
Release NuGet Packages / pack-and-push (release) Successful in 3m28s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user