3

当浏览到https://github.com/timotheecour/D_vs_nimhttps://github.com/timotheecour/D_vs_nim/blob/master/README.md我希望显示的降价以自定义(更大)宽度显示. 那可能吗?如果可能,宽度将取决于浏览器窗口大小,例如width=max(browser_width, fixed_width).

编辑:好奇https://github.com/github/markup中的 PR 是否有助于实现这一目标。

4

2 回答 2

2

You would need to use a dedicated repository, compatible with GitHub Pages, in order to be able to generate a markdown file content as you want (with a custom width for instance).
See "What is GitHub Pages?".

For anything else, like a regular repository, only GitHub is controlling how the markdown pages are rendered.

于 2018-03-25T00:04:44.020 回答
0

我通过为 github 安装 chrome 扩展宽屏为自己解决了这个问题。它需要手写笔(可用于其他浏览器,请参阅https://add0n.com/stylus.html);stylus取代了旧的stylish在 chrome 上被禁止的。当然,除非他们也使用扩展程序,否则它不会为其他人解决问题。例如,此页面的表格使用该扩展名呈现得更好(全宽)。

我较早的答案提到 了 https://userstyles.org/styles/108591/github-wide?utm_campaign=stylish_stylepage

于 2018-03-29T23:51:14.723 回答