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

shell语法完全没有高亮 #545

Closed
kingwrcy opened this issue May 30, 2024 · 3 comments
Closed

shell语法完全没有高亮 #545

kingwrcy opened this issue May 30, 2024 · 3 comments

Comments

@kingwrcy
Copy link

描述这个Bug

shell语法完全没有高亮,看官网文档上的shell代码也没有高亮,这个如何添加呢?

版本号

"md-editor-v3": "^4.15.0"

问题重现链接

No response

@imzbf
Copy link
Owner

imzbf commented May 31, 2024

有些确实无法高亮,比如

yarn add md-editor-v3

可能没有识别到关键词,像下面这个,定义为bash,就可以

echo "13"

@kingwrcy
Copy link
Author

docker run --restart=always --name moments -d -v /data/docker/moments:/app/data -p 3000:3000 kingwrcy/moments:0.1.6

这个定义为shell和bash 都没有任何语法高亮
有啥好办法吗?毕竟这类脚本还是毕竟多的.

@imzbf
Copy link
Owner

imzbf commented May 31, 2024

好像没办法,我在highlight.js的demo中试了试。

@imzbf imzbf closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
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

2 participants