PrismJS/prism

Indentation when line of code wraps.

Open

#2,202 创建于 2020年2月7日

在 GitHub 查看
 (3 评论) (2 反应) (0 负责人)JavaScript (1,296 fork)batch import
enhancementhelp wantedplugins

仓库指标

Star
 (11,488 star)
PR 合并指标
 (平均合并 86天 15小时) (30 天内合并 12 个 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) .

贡献者指南