CodeblockCustomizer icon indicating copy to clipboard operation
CodeblockCustomizer copied to clipboard

[BUG] Syntax highlighting is inconsistent between Editor and Reading mode

Open zzzz-cloud opened this issue 5 months ago • 1 comments

Environment

  • Obsidian v1.12.7
  • Codeblock Customizer v1.4.7

Reproduction

```go hlt:2-4|json:\"^\" tsep=^
type Monster struct{
	Name string `json:"name"`
	Age int `json:"age"`
	Skill string `json:"skill"`
}
```

Editing mode: Image

Reading mode: Image

By the way, it is not possible to use hlt:2-4|\`:\`to highlightjosn:"name"

zzzz-cloud avatar Jun 05 '26 09:06 zzzz-cloud

I'll have a look at it, and get back to you later.

mugiwara85 avatar Jun 05 '26 09:06 mugiwara85