PrismJS/prism

Indentation when line of code wraps.

オープン

#2,202 opened on 2020/02/07

 (3 件のコメント) (2 件のリアクション) (0 人の担当者)JavaScript (1,296 件のフォーク)batch import
enhancementhelp wantedplugins

Repository metrics

Stars
 (11,488 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド