Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

highlight 不支持 dart 语言高亮 #31

Open
dkvirus opened this issue Dec 9, 2019 · 0 comments
Open

highlight 不支持 dart 语言高亮 #31

dkvirus opened this issue Dec 9, 2019 · 0 comments

Comments

@dkvirus
Copy link
Contributor

dkvirus commented Dec 9, 2019

问题

随着 Flutter 热度升高,dart 语言用的也越来越多。
目前 teadocs 自带的 highlight.min.js 不支持 dart 语言高亮显示。

解决

https://highlightjs.org/download/ 默认只支持 34 种常见的语言高亮。
其它语言高亮可以自己勾选,然后 download。

image

补充

还有几种语言默认包也没有:

  • Flutter 开发用到 Dart
  • Android 开发使用 gradle 包管理器,需要用到 GradleGroovy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant