Skip to content

Extras

MarkdownEditor

Bit.BlazorUI.ExtrasMdEditor

BitMarkdownEditor is a dependency-free markdown editor built on a plain textarea: a data-driven toolbar, keyboard shortcuts, smart list continuation, undo/redo, find & replace, table tools, image paste/drop/pick upload, autosaved drafts and EditForm validation, with a live GitHub-flavored preview rendered by the BitMarkdownViewer. Every command is a pure C# text transformation, and the toolbar, menus, panels and dialog follow the keyboard and ARIA patterns of their roles.

Customization

Defaults through BitParams, styling every part of the editor with classes, styles and CSS variables, and right-to-left layouts.

Cascading parameters

BitParams with a BitMarkdownEditorParams sets defaults - strings, toolbar, upload handler, sizes, styles - for every editor under it. An editor's own value wins (the second keeps its own placeholder).

Nothing to preview yet.
Split 0 words 0 chars0 min read

Nothing to preview yet.
Split 0 words 0 chars0 min read

Style & Class

Style and Class reach the root; Styles and Classes reach each part. The public --bit-MarkdownEditor-* CSS variables restyle the editor here or app-wide from :root.

Component's Style & Class:

Nothing to preview yet.
Split 0 words 0 chars


Styles & Classes:

Nothing to preview yet.
Split 0 words 0 chars


CSS variables:

Restyled with CSS variables

Rounded corners, a tinted toolbar, pill buttons, a serif writing font, and split panes that never stack (--bit-MarkdownEditor-pane-min-width:0).

Split 23 words 181 chars

RTL

With Dir set to Rtl the toolbar, panes, menus and status bar flip.

ویرایشگر مارک‌داون

این یک متن راست به چپ برای نمایش قابلیت RTL است.

  • پشتیبانی کامل از لیست‌ها
  • میانبرهای صفحه‌کلید
Split 22 words 120 chars

Feedback

Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.