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

用户可配置代码块的风格 #104

Open
juliamachinelearning opened this issue Nov 2, 2019 · 2 comments
Open

用户可配置代码块的风格 #104

juliamachinelearning opened this issue Nov 2, 2019 · 2 comments
Assignees
Labels

Comments

@juliamachinelearning
Copy link

juliamachinelearning commented Nov 2, 2019

新特性描述:

希望增加代码块的设置,可以上传配置文件。

或者直接将/src/template/code/github.js文件里的下面部分改成,

.hljs-comment,
.hljs-quote {
color: #096;
}

要不然注释的颜色太灰暗啦

@BianChengNan
Copy link

BianChengNan commented Nov 3, 2019

借此帖同发一个需求。
现在代码块有两个我觉得可以优化的点:

  1. 代码缩进,空格也被当成tab处理了么?通过mdnice处理出来的缩进太大了。不利于手机端查看。
  2. 代码高亮,不支持 ``` c++ your codes here... ```这种语法模式吗?高亮出来的效果不太好。

@guanpengchn
Copy link
Collaborator

@BianChengNan 第二条写法不对

image

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

No branches or pull requests

3 participants