Skip to content
New issue

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

Bug: Markdown: JS/JSX Codeblock return is not displayed. #101

Closed
ShubhamVerma1811 opened this issue Mar 12, 2022 · 3 comments
Closed

Bug: Markdown: JS/JSX Codeblock return is not displayed. #101

ShubhamVerma1811 opened this issue Mar 12, 2022 · 3 comments

Comments

@ShubhamVerma1811
Copy link

Steps to reproduce:

  1. Go to the link and select markdown https://uiwjs.github.io/react-textarea-code-editor/
  2. Paste in the below code
const Comp = () => {
return <IAmHidden/>
}
const Comp = () => {
return <IAmAlsoHidden></IAmAlsoHidden>
}

Expectation:
Syntax highlight should detect return type component

image

@ShubhamVerma1811
Copy link
Author

Looks like it's not just js jsx

Anything between <> causes the issue inside the codeblocks

jaywcjlove added a commit that referenced this issue Mar 12, 2022
@jaywcjlove
Copy link
Member

@ShubhamVerma1811 Upgrade v1.5.2

@ShubhamVerma1811
Copy link
Author

ShubhamVerma1811 commented Mar 12, 2022

Can confirm it's fixed!

Thank you @jaywcjlove!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants