Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法为 Rouge 中的所有代码块默认启用 start_inline?
我正在使用 Jekyll 3 (rouge, kramdown) 写博客,并且我有很多 PHP 代码块。我希望语法高亮工作而不必将所有 ```php 标记替换为 ```php?start_inline=1
kramdown: syntax_highlighter: rouge syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options css_class: highlight # default_lang: console span: line_numbers: false block: line_numbers: true start_line: 1