这是indexloc提供的服务,不要输入任何密码
Skip to content

Allow Setting start_line for Rouge Code Highlighter #2479

@rennsax

Description

@rennsax

Checklist

Is your feature request related to a problem? Please describe

Related issue: #993, but this is closed.

Rouge highlighter accepts the start_line option, but we can only configure it in _config.yml globally.

Describe the solution you'd like

Code blocks accept an option start_line, maybe after the block.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions