Skip to content

Instantly share code, notes, and snippets.

@dchentech
Created November 30, 2012 05:46
Show Gist options
  • Save dchentech/4173967 to your computer and use it in GitHub Desktop.
Save dchentech/4173967 to your computer and use it in GitHub Desktop.
pygments.rb在bootstrap样式下自动换行
pre {
white-space: pre; /* fix bootstrap conflict with pygments */
}
/* 代码框自动下滑到底部(footer)的原因是table标签未关闭,见: https://github.com/mvj3/pygments.rb/commit/e7ad93a8db7a4b6be94e8fc03661b88797c903e8#lib/pygments/popen.rb */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment