We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@shikijs/transformers
+ 1
// [!code highlight:2] console.log('highlighted') console.log('not highlighted')
Ranges on transformations include the current line, to me this was very uninuitive.
Instead it could be:
// [!code highlight:2] console.log('highlighted') console.log('highlighted')
Currently: // [!code highlight] is effectively // [!code highlight:1] Becomes: // [!code highlight:0]
// [!code highlight]
// [!code highlight:1]
// [!code highlight:0]
I guess this is a breaking change, and it is slightly arbitary - so no worries if you disagree :)
Included in comment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Validations
Describe the bug
Ranges on transformations include the current line, to me this was very uninuitive.
Instead it could be:
Currently:
// [!code highlight]
is effectively// [!code highlight:1]
Becomes:
// [!code highlight:0]
I guess this is a breaking change, and it is slightly arbitary - so no worries if you disagree :)
Reproduction
Included in comment
Contributes
The text was updated successfully, but these errors were encountered: