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

代码高亮好像问题 #10

Closed
windmzx opened this issue Jun 26, 2017 · 8 comments
Closed

代码高亮好像问题 #10

windmzx opened this issue Jun 26, 2017 · 8 comments

Comments

@windmzx
Copy link

windmzx commented Jun 26, 2017

rt,似乎在代码中空行会在均匀的显示在代码前后,而不是空行原本应该在地方。

@yanm1ng
Copy link
Owner

yanm1ng commented Jun 26, 2017

你可以发一下截图吗?

@windmzx
Copy link
Author

windmzx commented Jun 26, 2017

@yanm1ng
Copy link
Owner

yanm1ng commented Jun 26, 2017

我这边并没有这个问题诶,这个比较难复现。。。你把 config.yml 里highlight的 line_number 设置为 false 试试

@windmzx
Copy link
Author

windmzx commented Jun 26, 2017

去掉行号,空号不会在两端显示。

我使用2个空格加一个回车作为空行,但是总是下面的的空号生效。(如果只添加第一个,则空行在第一处,添加第二处则只有第二处生效,添加第三次 只有第三处生效)

@windmzx
Copy link
Author

windmzx commented Jun 26, 2017

http://blogstatic.mengzhexin.com/17-6-26/42559704.jpg 图片似乎有问题

@yanm1ng
Copy link
Owner

yanm1ng commented Jun 27, 2017

这可能要看一下 highlight.js 的文档有没有说明了。

@1a57danc3
Copy link

@windmzx
This page isn’t working

blogstatic.mengzhexin.com didn’t send any data.
ERR_EMPTY_RESPONSE

@yanm1ng yanm1ng closed this as completed Sep 28, 2017
@sshuair
Copy link

sshuair commented Oct 22, 2017

代码高亮确实有问题,比如我这里的python代码,除了line number有问题外,代码颜色也是有问题

http://sshuair.com/2017/10/21/pytorch-loss/#CrossEntropyLoss

2017-10-22 5 20 03

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

4 participants