shikijs / shiki

A beautiful yet powerful syntax highlighter

Home Page:http://shiki.style/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`highlight-word-range`: selected which selected words to highlight

spcbfr opened this issue · comments

Clear and concise description of the problem

I want to be able to do /myWord/2-4 and the transformer should highlight the 2nd, 3rd and 4th occurrences of myWord only

Suggested solution

after inputting the word like so /myWord/ the user could simply add a range to work with. the range is optional though

Alternative

No response

Additional context

No response

Validations

Contributes

  • If this feature request is accepted, I am willing to submit a PR to fix this issue