Skip to content

ability to specify @collapse #5

Open
@leoj3n

Description

@leoj3n

I like the collapsing functionality this plugin already has, but it cannot be invoked on specific lines, and without specifying @highlight. I would like to be able to collapse specific lines without doing any highlighting, like:

@collapse 0-1,30-32

Could a separate plugin be made that plays nice with bit-docs-html-highlight-line, or could bit-docs-html-highlight-line be extended to offer a @collapse tag?

A compromise might be to add another option next to only, something like exact that will show exactly only the highlighted lines, and indiscriminately collapse all other non-highlighted lines, because currently only will show the next and previous three lines surrounding a highlight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions