shiki icon indicating copy to clipboard operation
shiki copied to clipboard

A beautiful yet powerful syntax highlighter

Results 81 shiki issues
Sort by recently updated
recently updated
newest added

Seems that vscode-oniguruma dependency is failing randomly in my setup. Logs: ```bash # arrow function possible to detect only with => on same line ( (

need-more-info

Reproduction (https://runkit.com/brc-dd/6309d1529e302e000a926cad): ```js const shiki_10 = require('[email protected]') const shiki_11 = require('shiki') const h_10 = await shiki_10.getHighlighter({ theme: 'material-palenight' }) const h_11 = await shiki_11.getHighlighter({ theme: 'material-palenight' }) console.log(h_10.codeToHtml(`import foo from...

bug

Shiki misses a *properties* grammar. ```properties someprop=someprop ``` => Exception has occurred: Error: No language registration for properties Using Shiki v0.9.15. Thank you in advance for your help.

need-more-info

👋 Hello! I’m a huge fan of this project and I’m excited for the direction this is taking. I’ve implemented Shiki in a number of different setups and wanted to...

- [x] Format all commit messages with [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)

Hello! I’d love to support Shiki within Framer, as part of a component such as https://syntax.page/ Unfortunately, it appears Shiki isn’t ESM-compatible. In Framer, I can pull in NPM packages...

Many plugins introduce `` custom block in Vue SFC like official [unplugin-vue-router](https://github.com/posva/unplugin-vue-router#extending-existing-routes), [vite-plugin-pages](https://github.com/hannoeru/vite-plugin-pages#sfc-custom-block-for-route-data) and [@nuxtjs/router-extras](https://github.com/nuxt-community/router-extras-module#define-custom-paths-for-a-page). But currently, it seems that only `` custom block is highlighted. Hope `` or even...

Consider adding a note about setCDN to Usage? Otherwise, it will bring great trouble to users. The following problems are related to the lack of setCDN related content in the...

I cannot find a way to add alias `hs` for haskell code block, and I expect I can do this in the configuration just like prismjs. Maybe something like: ```js...

### 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...