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

Missing feature to highlight markdown markup inside jsx #14

Open
varundevpro opened this issue Jan 18, 2020 · 2 comments
Open

Missing feature to highlight markdown markup inside jsx #14

varundevpro opened this issue Jan 18, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@varundevpro
Copy link

varundevpro commented Jan 18, 2020

We have a feature in mdx, using which we can write markdown syntax inside the JSX block of code.

<p>

I want to write **some inline** code here like `npm i`.

</p>

So the some inline in the above code should appear bold. I have a complete article about this on a blog. You can refer it, if needed

@silvenon
Copy link
Owner

Yep, I should definitely add this.

@silvenon silvenon added the bug Something isn't working label Jan 22, 2020
@pomber
Copy link

pomber commented Oct 25, 2021

Note that MDX v2 accepts markdown in more places:

<div>*hi*?</div>

<div>
  # hi?
</div>

<main>
  <div>

    # hi?

  </div>
</main>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants