izhangzhihao / intellij-rainbow-brackets

🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio/Fleet
https://plugins.jetbrains.com/plugin/10080-rainbow-brackets
GNU General Public License v3.0
4.35k stars 202 forks source link

[WRS-3974] <> colouring in markdown table #2702

Open dukedagmor opened 4 months ago

dukedagmor commented 4 months ago

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

Yes

Your programming languages

markdown

Free or paid?

Free users

Expected Behavior

|heading|heading|
|-|-|
|<span>||

Should colour '\' at least ‘<‘ & ‘>’ the rest should be dependant on settings

Current Behavior

Does not colour \ it does colour ‘<‘ & ‘>’ if I change it to < span> but doesn’t seem to recognise it as HTML/XML

I checked the PSI and it is registered as HTML_TAG

image

with the added space "< span>" I get the following PSI

image

Code snippet for reproduce

Does not colour \ or '<' & '>':

|heading|heading|
|-|-|
|<span>||

Does colour '<' & '>':

|heading|heading|
|-|-|
|< span>||

Your Environment

Writerside 2023.2 EAP Build #WRS-232.10275 The jetbrains Markdown plugin is bundled with Writerside

izhangzhihao commented 4 months ago

Thanks for investing, I will looking into this later

izhangzhihao commented 4 months ago

Does not colour it does colour ‘<‘ & ‘>’ if I change it to < span> but doesn’t seem to recognise it as HTML/XML

Hi, this is behavior of the IDE itself, not this plugin. This plugin can only render something that the IDE build first. Once the IDE building something wrong the rainbowify will broken. You can submit an issue for Jetbrains here https://youtrack.jetbrains.com

dukedagmor commented 4 months ago

created issue https://youtrack.jetbrains.com/issue/WRS-3974/colouring-in-markdown-table-in-intellij-rainbow-brackets to gether feedback from the writerside devs

dukedagmor commented 3 months ago

youtrack still no response :'(