PrismJS/prism

Feature request - Line Highlight Plugin JS API

Open

#1.093 aberto em 4 de fev. de 2017

Ver no GitHub
 (2 comments) (2 reactions) (0 assignees)JavaScript (1.296 forks)batch import
enhancementgood first issueplugins

Métricas do repositório

Stars
 (11.488 stars)
Métricas de merge de PR
 (Mesclagem média 86d 15h) (12 fundiu PRs em 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

Guia do colaborador