直接跳到内容

MarkdownViewer 渲染器

渲染 markdown 内容,基于 Python-Markdown 实现。

基础用法

MarkdownViewer API

MarkdownViewer 属性

属性名说明类型默认值
valuemarkdown文本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

MarkdownViewer 渲染器已经加载完毕