Skip to content

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

@zzzz-cloud

Description

@zzzz-cloud

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions