Skip to content

todo(markdown-remark) Add syntax highlighting support back in via plugins #1362

@apollo-git-bot

Description

@apollo-git-bot

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions