Add syntax highlighting support back in via plugins -- This should not be done via a hardcoded dependency on Shiki, but rather via a plugin system that allows users to choose if they want to use Shiki, Prism, or another syntax highlighter, or nothing at all.
syntaxHighlight = markdownConfigDefaults.syntaxHighlight, shikiConfig = markdownConfigDefaults.shikiConfig,
|
// TODO: Add syntax highlighting support back in via plugins -- This should not be done via a hardcoded dependency on Shiki, but rather via a plugin system that allows users to choose if they want to use Shiki, Prism, or another syntax highlighter, or nothing at all. |
|
// syntaxHighlight = markdownConfigDefaults.syntaxHighlight, |
|
// shikiConfig = markdownConfigDefaults.shikiConfig, |
|
remarkPlugins = markdownConfigDefaults.remarkPlugins, |
|
rehypePlugins = markdownConfigDefaults.rehypePlugins, |
|
remarkRehype: remarkRehypeOptions = markdownConfigDefaults.remarkRehype, |
This issue was generated by todo-issue based on a TODO comment in 262103e.
Add syntax highlighting support back in via plugins -- This should not be done via a hardcoded dependency on Shiki, but rather via a plugin system that allows users to choose if they want to use Shiki, Prism, or another syntax highlighter, or nothing at all.
syntaxHighlight = markdownConfigDefaults.syntaxHighlight, shikiConfig = markdownConfigDefaults.shikiConfig,
studiocms/packages/@studiocms/markdown-remark/src/core/index.ts
Lines 83 to 88 in 262103e
This issue was generated by todo-issue based on a
TODOcomment in 262103e.