To convert JSX which is written in Markdown to React.Element.
Install:
npm i --save bisheng-plugin-reactAdd 'bisheng-plugin-react to bisehng.config.js's plugins.
module.exports = {
plugins: ['bisheng-plugin-react?lang=jsx'],
};In Markdown:
...
This is a button:
```jsx
import { Button } from 'antd';
ReactDOM.render(<Button>Click!</Button>, mountNode);
```
...
The above example will be rendered as:
default: 'react-component'
default: false
Whether to import React and ReactDOM automatically.
MIT
