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
If I pass in a React component to withInfo(markdown)
withInfo(markdown)
const markdown = ` ~~~js // source file for button <Button />; ~~~ `;
This will actually render <Button /> into <button></button>
<Button />
<button></button>
workaround is to escape the <
<
caused by marksy: storybookjs/marksy#26
The text was updated successfully, but these errors were encountered:
Should we do it on our side maybe?
Sorry, something went wrong.
If there's a desire on our side to maintain something like that, I don't see why not.
Basically something like if string is wrapped inside '~~~' and has tag, escape the open?
No, there are multiple ways to add code blocks in markdown, so it doesn't look such a good idea to me now.
So I would pick one of the options:
highlight
react-markdown
Looks like we have a third option here =) storybookjs/marksy#26 (comment)
Hypnosphi
No branches or pull requests
If I pass in a React component to
withInfo(markdown)
This will actually render
<Button />
into<button></button>
workaround is to escape the
<
caused by marksy: storybookjs/marksy#26
The text was updated successfully, but these errors were encountered: