Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to specify @collapse #5

Open
leoj3n opened this issue Jul 4, 2017 · 0 comments
Open

ability to specify @collapse #5

leoj3n opened this issue Jul 4, 2017 · 0 comments

Comments

@leoj3n
Copy link
Contributor

leoj3n commented Jul 4, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant