mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
7 lines
216 B
TypeScript
7 lines
216 B
TypeScript
|
import type MarkdownIt from 'markdown-it'
|
||
|
|
||
|
export default (md: MarkdownIt): void => {
|
||
|
md.renderer.rules.table_open = () => '<div class="vp-table"><table>'
|
||
|
md.renderer.rules.table_close = () => '</table></div>'
|
||
|
}
|