shiki
shiki copied to clipboard
A beautiful yet powerful syntax highlighter
### Validations - [X] Follow our [Code of Conduct](https://github.com/shikijs/shiki/blob/main/CODE_OF_CONDUCT.md) - [X] Read the [Contributing Guide](https://github.com/shikijs/shiki/blob/main/CONTRIBUTING.md). - [X] Check that there isn't already an issue that reports the same bug to...
### Validations - [x] Follow our [Code of Conduct](https://github.com/shikijs/shiki/blob/main/CODE_OF_CONDUCT.md) - [X] Read the [Contributing Guide](https://github.com/shikijs/shiki/blob/main/CONTRIBUTING.md). - [X] Check that there isn't already an issue that reports the same bug to...
### Clear and concise description of the problem how can I use vitepress "Import Code Snippets" with @shikijs/vitepress-twoslash ### Suggested solution support "
### Validations - [X] Follow our [Code of Conduct](https://github.com/shikijs/shiki/blob/main/CODE_OF_CONDUCT.md) - [X] Read the [Contributing Guide](https://github.com/shikijs/shiki/blob/main/CONTRIBUTING.md). - [X] Check that there isn't already an issue that reports the same bug to...
### Validations - [X] Follow our [Code of Conduct](https://github.com/shikijs/shiki/blob/main/CODE_OF_CONDUCT.md) - [X] Read the [Contributing Guide](https://github.com/shikijs/shiki/blob/main/CONTRIBUTING.md). - [X] Check that there isn't already an issue that reports the same bug to...
### Clear and concise description of the problem `codeToTokens` to return the grammar state after tokenization. ### Suggested solution This could be beneficial for tokenization in the editor I'm currently...
### Validations - [X] Follow our [Code of Conduct](https://github.com/shikijs/shiki/blob/main/CODE_OF_CONDUCT.md) - [X] Read the [Contributing Guide](https://github.com/shikijs/shiki/blob/main/CONTRIBUTING.md). - [X] Check that there isn't already an issue that reports the same bug to...
### Clear and concise description of the problem `createHighlighter` supports `langAlias`. It would be nice if rehype supports it too. ### Suggested solution Add `langAlias` option for rehype plugin and...
### Clear and concise description of the problem Currently, Shiki uses a single regex matcher for notation transformers. It resulted in a few problems: - **Invalid syntax is included:** JavaScript...
### Validations - [X] Follow our [Code of Conduct](https://github.com/shikijs/shiki/blob/main/CODE_OF_CONDUCT.md) - [X] Read the [Contributing Guide](https://github.com/shikijs/shiki/blob/main/CONTRIBUTING.md). - [X] Check that there isn't already an issue that reports the same bug to...