PrismJS/prism

Indentation when line of code wraps.

開放

#2,202 建立於 2020年2月7日

 (3 則留言) (2 個反應) (0 位負責人)JavaScript (1,296 個分叉)batch import
enhancementhelp wantedplugins

倉庫指標

星標
 (11,488 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南