在哪里可以找到“所有 Rouge 选项”?
我正在使用 Jekyll 创建一个静态网站。 我想使用 _config.yml
在 kramdown 中配置 rouge。
此外,所有 Rouge 选项(例如“line_numbers”)都可以直接在“syntax_highlighter_opts”选项(它们应用于代码跨度和代码块)和/或“span”/“block”键上设置。
但我找不到“所有 Rouge 选项” 在哪里。 在哪里可以找到“所有 Rouge 选项”?
I am using Jekyll to create a static website.
I want to use _config.yml
to configure rouge in kramdown.
After looking through the documentation for jekyll and kramdown, I found that it mentions
Furthermore all Rouge options (e.g. ‘line_numbers’) can be set directly on the ‘syntax_highlighter_opts’ option (where they apply to code spans and code blocks) and/or on the ‘span’/’block’ keys.
But I can't find where the "all Rouge options" are.
Where can I find "all Rouge options"?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许这就是您正在寻找的?
Maybe this is what you are looking for?