PrismJS/prism

Indentation when line of code wraps.

Aperta

#2202 aperta il 7 feb 2020

 (3 commenti) (2 reazioni) (0 assegnatari)JavaScript (1296 fork)batch import
enhancementhelp wantedplugins

Metriche repository

Star
 (11.488 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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) .

Guida contributor