kit-docs icon indicating copy to clipboard operation
kit-docs copied to clipboard

Codeblock language support is insufficient

Open temeddix opened this issue 1 year ago • 0 comments

image

The docs say that supported languages are those of Shiki.

https://github.com/svelteness/kit-docs/blob/88fa1aec6a366a2e1896b7387510e69d5cb91d28/packages/kit-docs/src/node/markdown-plugin/parser/plugins/shiki-plugin.ts#L7

However, not all languages from Shiki are included in this library.

image

This results in error when writing other languages, such as Python in markdown codeblocks.

temeddix avatar Jul 02 '23 12:07 temeddix