Skip to content

picidaejs/picidae-transformer-react-render

Repository files navigation

picidae-transformer-react-render

Support

We can write something in markdown syntax as blow.

```react-render
export default () => <h1>Hello React Render</h1>
```

The react-render React Code will be rendered when the markdown is rendered.

And we can hide the code View written as blow:

```react-render?hide
export default () => <h1>Hello React Render</h1>
```

Option

  • lang: string (default: 'react-render')
  • editable: boolean (default: false)
  • babelStandaloneCDN: string (default: 'https://unpkg.com/[email protected]/babel.min.js')
  • editorProps: Object | null (react-code-editor's props)
  • placement: string: 'bottom' | 'top'
    the placement of react component view. (default: 'bottom')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published