mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
21 lines
414 B
Markdown
21 lines
414 B
Markdown
---
|
|
'astro': major
|
|
---
|
|
|
|
Removes support for Shiki custom language's `path` property. The language JSON file should be imported and passed to the option instead.
|
|
|
|
```diff
|
|
// astro.config.js
|
|
+ import customLang from './custom.tmLanguage.json'
|
|
|
|
export default defineConfig({
|
|
markdown: {
|
|
shikiConfig: {
|
|
langs: [
|
|
- { path: './custom.tmLanguage.json' },
|
|
+ customLang,
|
|
],
|
|
},
|
|
},
|
|
})
|
|
```
|