PrismJS/prism

Feature request - Line Highlight Plugin JS API

Open

#1093 opened on Feb 4, 2017

View on GitHub
 (1 comment) (2 reactions) (0 assignees)JavaScript (11,488 stars) (1,296 forks)batch import
enhancementgood first issueplugins

Description

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

Contributor guide