Fro-Q
Fro-Q
## Problem I'm using Twoslash in a VitePress project and encountered an issue where I need to display an error for a named import in a Vue SFC. Specifically, I...
### Describe the bug The feature appears to be working correctly. However, I've noticed that VitePress implements its own additional processing for the meta highlight functionality, which could potentially be...
### Description #### Use `transformerMetaHighlight()` Use [shiki's transformer](https://shiki.style/packages/transformers#transformermetahighlight) to do meta highlight. #### Support for multi-key line numbers notation in meta Modified `highlightLinePlugin()` to support multi-key meta notation like `add={1}...
### Description Implement more meta-notation transformers: `transformerMetaDiff`, `transformerMetaErrorLevel`, and `transformerMetaFocus`. Now meta strings like `add={1} remove={2} focus={3} highlight={4} error={5} warning={6}` can be used to mark: - line 1 as `diff...
### Clear and concise description of the problem When attempting to add a transformer notation within an HTML snippet, it is currently impossible to highlight specific lines, such as lines...