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

Support MDX file #2787

Open
fitzage opened this issue Oct 18, 2024 · 3 comments
Open

Support MDX file #2787

fitzage opened this issue Oct 18, 2024 · 3 comments

Comments

@fitzage
Copy link

fitzage commented Oct 18, 2024

Have you checked the issues and discussions to ensure there are no duplicates?

Yes

Are you using JetBrains Client / Code With Me / IntelliJ Remote Development?

No

Your programming languages

mdx

Free or paid?

Paid users

Expected Behavior

I noticed in a markdown file that I had beautiful rainbow highlighting of an HTML table, but in my mdx conversion of the same file, I do not get the same result.

Current Behavior

These should be nice rainbow tags, but they’re not:
image

Compare to the markdown version:
image

Code snippet for reproduce

This is it, but it’s really just html inside an mdx file. I think the fact that it’s mdx instead of md is the problem.


<table>
<tbody>
<tr class="odd">
<td><strong>Instance type</strong></td>
<td><strong>Physical CPU(core count)</strong></td>
<td><strong>PassMark per core</strong></td>
<td><strong>Cores per EC2 instance</strong></td>
<td><strong>ECUs per instance</strong></td>
<td><strong>ECU per core</strong></td>
</tr>
<tr class="even">
<td>m1.large</td>
<td>Intel E5507 (4)</td>
<td>812</td>
<td>2</td>
<td>4</td>
<td>2</td>
</tr>
<tr class="odd">
<td>m2.4xlarge</td>
<td>Intel X5550 (8)</td>
<td>663</td>
<td>8</td>
<td>26</td>
<td>3.25</td>
</tr>
<tr class="even">
<td>cc2.8xlarge</td>
<td>Intel E5-2670 (16)</td>
<td>832</td>
<td>32</td>
<td>88</td>
<td>2.75</td>
</tr>
</tbody>
</table>


### Your Environment

```shell
IntelliJ IDEA 2024.2.3 (Ultimate Edition)
Build #IU-242.23339.11, built on September 24, 2024
Licensed to Matthew Fitzsimmons
You have a perpetual fallback license for this version.
Subscription is active until August 8, 2025.
Runtime version: 21.0.4+13-b509.17 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.7
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 6144M
Cores: 10
Metal Rendering is ON
Registry:
  ide.experimental.ui=true
  i18n.locale=
  terminal.new.ui=true
Non-Bundled Plugins:
  com.intellij.notebooks.core (242.21829.3)
  tailwind.fold.tailwind-fold (2024.1.4)
  org.intellij.plugins.hcl (242.23339.11)
  PythonCore (242.23339.11)
  com.ultrahob.zerolength.plugin (0.95)
  dev.gabrielchl.intellij-pets (0.1.10)
  IdeaVIM (2.16.0)
  org.jetbrains.plugins.go-template (242.20224.155)
  dev.lankydan.palenightintellijtheme (1.0.4)
  com.intellij.plugins.vscodekeymap (242.20224.385)
  Pythonid (242.23339.11)
  intellij.jupyter (242.23339.11)
  dev.smarthugo (2024.1.1)
  com.laravel_idea.tailwind (1.4.2)
  com.intellij.lang.jsgraphql (242.21829.3)
  com.dmarcotte.handlebars (242.21829.3)
  com.jetbrains.lang.ejs (242.20224.155)
  com.github.inxilpro.intellijalpine (0.6.5)
  org.jetbrains.plugins.astro (242.22855.32)
  mdx.js (242.20224.159)
  com.jetbrains.php (242.23339.16)
  izhangzhihao.rainbow.brackets (2024.2.6-241)
  com.github.copilot (1.5.25.10)
  zielu.gittoolbox (600.0.2+242)
Kotlin: 242.23339.11-IJ
@fitzage fitzage added the bug? label Oct 18, 2024
@izhangzhihao izhangzhihao changed the title Doesn’t appear to be working inside MDX files Support MDX file Oct 19, 2024
@izhangzhihao
Copy link
Owner

intellij-rainbow-brackets-2024.2.6-241.zip

pls download and try this build snapshot.

@fitzage
Copy link
Author

fitzage commented Oct 21, 2024

@izhangzhihao Yes, that fixes it!

@izhangzhihao
Copy link
Owner

It not "fix" it's supporting, this not a bug but a feature request

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

No branches or pull requests

2 participants