PrismJS/prism

Indentation when line of code wraps.

Open

#2 202 ouverte le 7 févr. 2020

Voir sur GitHub
 (3 commentaires) (2 réactions) (0 assignés)JavaScript (1 296 forks)batch import
enhancementhelp wantedplugins

Métriques du dépôt

Stars
 (11 488 stars)
Métriques de merge PR
 (Merge moyen 86j 15h) (12 PRs mergées en 30 j)

Description

Motivation There is no easy way to have indented line breaks.

Description I do not want to have to horizontally scroll when my code is too long and want to wrap it to the next line. However when I do this like https://github.com/PrismJS/prism/issues/1237 the line wraps over to the next line without any indents. I want to wrap the line over with indenting like in many code editors (like vs code press Alt + Z https://stackoverflow.com/questions/31025502/how-can-i-switch-word-wrap-on-and-off-in-visual-studio-code) .

Guide contributeur