PrismJS/prism

Feature request - Line Highlight Plugin JS API

Open

#1,093 opened on Feb 4, 2017

View on GitHub
 (2 comments) (2 reactions) (0 assignees)JavaScript (1,296 forks)batch import
enhancementgood first issueplugins

Repository metrics

Stars
 (11,488 stars)
PR merge metrics
 (Avg merge 86d 15h) (12 merged PRs in 30d)

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