Skip to content

File highlight plugin: Support line ranges #1812

@RunDevelopment

Description

@RunDevelopment

Description
When writing tutorials, it's useful to only display parts of a file, so only line x to line y. The File highlight plugin should support this functionality.

The idea is that you can add an additional data-range attribute to the <pre> and it will only display the lines in that range. E.g. data-range="1,5".

This should be compatible with Line numbers.


Continuation of #1810

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions