Skip to content

Inline code highlighting has issues #17

Closed
@echasnovski

Description

@echasnovski

There are multiple issues of recognizing inline code blocks. It usually works fine when backticks surround single word consisting from letters. Other than that, not so much.

Text:

`inline code with s`
`inline code with spaces`
`require('')`
`require('mod')`
`{}`

Current behavior with tree-sitter:
screenshot_2022-09-26_15:46:20

Current behavior without tree-sitter:
screenshot_2022-09-26_15:46:35

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions