Skip to content

CodeHighlighter 支持更灵活的配置 #1647

@hellohejinyu

Description

@hellohejinyu

需求动机

现在的 CodeHighlighter 粗暴地引入了所有语言的支持,导致打包的 js 体积巨大,着实有点浪费。而且诡异的是为啥 refractorhighlight.js 都被打包进去了,按理来说应该是二选一的。

Image

提议的 API 是什么样的?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions