v2.1.0
Documentation v2.1.0: https://raw.githack.com/kktjs/markdown-react-code-preview-loader/3ced95b/index.html
Comparing Changes: v2.0.1...v2.1.0
npm i markdown-react-code-preview-loader@2.1.0
- 🌟 feat: add 'meta' parameter. 834ca29 @jaywcjlove
- 💄 chore: update workflows config. 7864641 @jaywcjlove
- 💄 chore: add homepage & repository field in package.json 7bf3a18 @jaywcjlove
\```tsx mdx:preview:demo12&code=true&boreder=0
import React from "react"
const Demo = ()=>{
return <div>测试</div>
}
export default Demo
\```
{
data: {
demo12: {
code: "function ......"
language: "jsx"
name: 'demo12',
+ meta: { code: 'true', boreder: '0' },
value: "impo....."
}
},
components: { demo12: ƒ },
source: "# Alert 确认对话框...."
}