Extras
MarkdownViewer
BitMarkdownViewer parses Markdown into an AST and renders it straight to the Blazor render tree - no JavaScript interop, no third-party packages. Composable pipelines add exactly the flavors a document needs, untrusted input is sanitized and bounded by default, and the parsed tree, the rendering of any node and the words the renderers write are all yours to change.
Customization
Defaults for every viewer of a subtree through BitParams, styling the document with classes and CSS variables, and right-to-left layouts.
Cascading parameters
Release 9.4
Oldparser replaced- Docs
| Flavor | Cascaded |
|---|---|
| GitHub | ✔ |
Release 9.4
- [x] ~~Old~~ parser replaced
- [ ] Docs
| Flavor | Cascaded | |--------|:--------:| | GitHub | ✔ |
Style & Class
:root.
A styled viewer, set apart with an inline Style.
A classy viewer
Every code span and heading inside it is restyled from the page's own stylesheet.
Restyled with variables
A serif body, purple headings and tinted code.
A quote with a purple bar.
| Column | Value |
|---|---|
| one | 1 |
| two | 2 |
RTL
نمایشگر مارکداون
متن درشت و مورب در کنار کد درونخطی.
Note
نوار رنگی این کادر با جهت متن جابهجا میشود.
- مورد اول
- مورد دوم
- مورد تودرتو
| ستون | مقدار |
|---|---|
| یک | ۱ |
| دو | ۲ |
A comment thread
Each paragraph takes the direction of its own text.
این پاراگراف فارسی است و از راست به چپ چیده میشود.
- English item
Feedback
Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.