Skip to content

Question: How to highlight the first few characters of a line? #69

@shigma

Description

@shigma

Image

I saw the // ^^^ syntax in the documentation, but if I want to highlight function in the example above, what should I do?

function add(a: number, b: number) {
// ^^^^ only highlights `ction`
  return a + b
}

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