PrismJS/prism

Feature request - Line Highlight Plugin JS API

Open

#1.093 aberto em 4 de fev. de 2017

Ver no 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

Guia do colaborador