参考
组件索引
按用途查找 41 个 MDX 组件。
共 41 个组件。下表汇总迁移映射参数,不表示全部为必填;当前 MDX 扩展参数以各组件说明为准。
| 组件 | 参数与别名 |
|---|---|
| Note | style, type |
| Subnote | type |
| Bubble | color, notation, position, text |
| Label | color, text |
| Text | color |
| Paragraph | color |
| Keyboard | 见示例 |
| Spoiler | style |
| Fold | open, title |
| HideBlock | text |
| HideInline | text |
| HideToggle | text, title |
| Tabs | id |
| Tab | icon, title |
| Image | alt, caption, src, style |
| InlineImage | alt, height, src |
| Gallery | columns |
| GalleryItem | alt, src |
| GalleryGroup | img, name, title, url |
| Audio | name, src, url |
| Video | poster, src, url |
| Videos | col |
| BVideo | bvid, id |
| YouTube | id, privacy |
| Button | icon, option, text, url |
| Link | desc, link, subtitle, title, url |
| Card | bg, cover, desc, height, icon, name, star, tag, title, url, width |
| Flink | 见示例 |
| Series | name |
| Timeline | color, title |
| Timenode | time, title |
| GitHub | repo |
| GitLab | repo |
| Gitee | repo |
| Gitea | host, repo, server |
| ChartJS | description, id, layout, width |
| Mermaid | 见示例 |
| Score | score |
| Typeit | speed |
| Checkbox | checked, style |
| Radio | checked, style |
