Mara-Li / obsidian-regex-mark

MIT License
16 stars 0 forks source link

[Bug]: In table mode, the display is different from that in normal cases #8

Closed jiajiala closed 4 months ago

jiajiala commented 4 months ago

Issue validation

Describe the bug

image image As shown in the figure, xx does not change color in the table, but is correct under normal conditions

Minimal Reproducible Example

{ "regex": "“(.*?)”", "class": "ccsse", "hide": false },

.ccsse{ background-color: rgb(103 33 0); }

Obsidian information

·

Plugin version

1.7.0

Mara-Li commented 4 months ago

Can i have the markdown for testing ? Are you in reading or live preview mode ?

jiajiala commented 4 months ago

Can i have the markdown for testing ? Are you in reading or live preview mode ?

Test12.md 4

In either mode, it is not possible to represent "xx" as all yellow image

Mara-Li commented 4 months ago

I forgot to add support for th in the markdown processor, and also forgot to set the regex on g (global). Now fixed for table