We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there,
I checked the docs but could not find anything relating to this.
Can I add the previewOptions to the Markdown component ?
I tried doing it the way it works for the top-level component but not for .Markdown.
const MarkdownPreviewProps = { className:'cms-content', remarkPlugins: [remarkHint, remarkDirective, customPlugin], } ; <MDEditor.Markdown source={value} previewOptions={MarkdownPreviewProps}/>
The text was updated successfully, but these errors were encountered:
const MarkdownPreviewProps = { className:'cms-content', remarkPlugins: [remarkHint, remarkDirective, customPlugin], } ; <MDEditor previewOptions={MarkdownPreviewProps} /> <MDEditor.Markdown source="Hello Markdown!" {...MarkdownPreviewProps} />
@lukaa
Sorry, something went wrong.
No branches or pull requests
Hi there,
I checked the docs but could not find anything relating to this.
Can I add the previewOptions to the Markdown component ?
I tried doing it the way it works for the top-level component but not for .Markdown.
The text was updated successfully, but these errors were encountered: