Files
mes-ui-d2/static/markdownFiles/article/组件 - 代码高亮.md
李杨 c672f41b66 no message
Former-commit-id: e78219d99de62dd16eb66cc984cd594ac8bd0493
Former-commit-id: 483b5a7d285b5f1853f940fdacdbe0d5695d7749
Former-commit-id: bd9d40e248cac3c1a9bbe3cf07baaa8a11dfbe50
2018-02-16 22:21:07 +08:00

13 lines
369 B
Markdown

## 参数
| 参数名 | 介绍 | 必选 | 值类型 | 可选值 | 默认值 |
| --- | --- | --- | --- | --- | --- |
| code | 代码字符串 | 非 | String | | console.log('you lost code prop') |
## 示例
```
<Highlight code="alert('Hello')"></Highlight>
```
> 本框架只是提供代码高亮的简单实现,如需实现更高级的设置请修改组件代码