Skip to content

[Bug] does not work well in the codeblock of markdown file #189

@draftman9

Description

@draftman9

Describe the bug

I code some python codes in the codeblock of markdown. But the rainbow plugin did not work in the area.

To Reproduce

  1. create a test.md
  2. code some python codes in the codeblock

File: test.md`, filetype=markdown

a=1
b=[1,2,[2,3]]
print(a,b(2))

Expected behavior

The ( and [ should be different colors.

Screenshots

image

Additional context

And I found the math environment has the same problem.
image

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