Skip to content

v2.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 May 16:42
· 32 commits to main since this release

npm version

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
\```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 确认对话框...."
}