Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indentation when line of code wraps. #2202

Open
TheComputerM opened this issue Feb 7, 2020 · 3 comments
Open

Indentation when line of code wraps. #2202

TheComputerM opened this issue Feb 7, 2020 · 3 comments

Comments

@TheComputerM
Copy link

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

@galaxy4public
Copy link

@TheComputerM, have look at #2389 . It is a plugin that was created specifically to show line wrapping indicators (unless the physical lines in the <pre> block can be identified via CSS it is impossible to use text-indent and padding-left on specific lines -- the plugin is introducing the semantic markup for lines inside the code blocks)

@TheComputerM
Copy link
Author

Any updates?

@miltone92
Copy link

Did this get implemented? I'm trying to wrap lines without loosing indentation. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants