#header-mark#
MarkdownViewer 渲染器
渲染 markdown
内容,基于 Python-Markdown 实现。
基础用法
MarkdownViewer API
MarkdownViewer 属性
属性名 | 说明 | 类型 | 默认值 |
---|---|---|---|
value | markdown文本 | str | — |
style | 自定义css样式 | str | - |
TIP
style 支持的其它css属性
Sizes相关
- height
- width
- max_height
- max_width
- min_height
- min_width
Display相关
- visibility
- display
- overflow
Box model相关
- border
- margin
- padding
Positioning相关
- top
- left
- bottom
- right
MarkdownViewer 方法
属性名 | 说明 | 类型 |
---|
src/examples/ipywui/component/markdown-viewer