1

I've noticed that if I use language-specific syntax highlighting on Github (e.g. Ruby)

ruby example block

There's a lot of space between code block and preceding text.
However, when using the plain shell syntax block, the spacing is tighter:

enter image description here

Just wondering if anyone has found a way to get the spacing tighter when using language-specific syntax highlighting.

4

1 回答 1

0

对于您自己的页面,您可以尝试使用不同的 css,如“ jasonm23 / markdown-css-themes ”。

请参阅此示例页面

于 2013-04-30T06:14:30.013 回答