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

Feature request - Line Highlight Plugin JS API #1093

Open
jarodium opened this issue Feb 4, 2017 · 1 comment
Open

Feature request - Line Highlight Plugin JS API #1093

jarodium opened this issue Feb 4, 2017 · 1 comment

Comments

@jarodium
Copy link

jarodium commented Feb 4, 2017

Hello

Instead of removing the highlighter and changing data-line attr, I would love to have a method in the Line highligth to select lines. It makes sense to me for this plugin to have this kind of method, instead of hashlinking ( don't get me wrong, hashlinking has its uses ).

Thanks :D

@mAAdhaTTah
Copy link
Member

This would also make a good first issue: expose highlightLines as Prism.plugins.highlightLines in that plugin.

@mAAdhaTTah mAAdhaTTah changed the title Feature request - Line Highlight Plugin Feature request - Line Highlight Plugin JS API Apr 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants