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

望添加代码高亮和Tab宽度改为4格 #4

Open
UFOAlastor opened this issue Apr 8, 2020 · 1 comment
Open

望添加代码高亮和Tab宽度改为4格 #4

UFOAlastor opened this issue Apr 8, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@UFOAlastor
Copy link

https://i.niupic.com/images/2020/04/08/7l8M.png
如题,代码希望添加高亮。
然后将tab的格数改为4个空格宽度,现在是8格宽,在长代码中体验不好

@jiansing jiansing added the enhancement New feature or request label Apr 8, 2020
@jiansing
Copy link
Owner

jiansing commented Apr 8, 2020

目前建议:

兼容AMP方案

使用GitHub Gist嵌入,见https://amp.dev/documentation/examples/components/amp-gist/

不考虑兼容AMP

自行引入highlightjs等代码高亮JS,如getgridea/gridea#495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants