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
tripleday opened this issue Jun 29, 2016 · 2 comments
Closed

单行代码过长可以显示横向滚动条 #10

tripleday opened this issue Jun 29, 2016 · 2 comments
Labels

Comments

@tripleday
Copy link
Contributor

生成的博客会有点尴尬。
y 59k vdaa hab lvi 8

@stiekel
Copy link
Owner

stiekel commented Jun 29, 2016

默认是有的,具体可以看这个文章: http://chensd.com/2015-03/AngularJS-ngOptions-ngRepeat-filter-exclude-and-screen.html 这里的最后一段代码,是有水平滚动条的。

我看了一下你的说的问题,应该是 http://tripleday.github.io/2016/06/16/centos&scrapy&ghost.py/ ,我看这文章的源文件中,使用的是 来标明开始代码的,但没有指定是代码语言,所以默认为普通文本。你可以用sh 来指定代码是命令行。这样就会有对应的高亮和滚动条。

我会给普通文本的代码段加一个水平滚动条。

@stiekel stiekel added the bug label Jun 29, 2016
@tripleday
Copy link
Contributor Author

谢谢解释

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

2 participants