-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Word wrap in code blocks #2595
Word wrap in code blocks #2595
Conversation
Is there any chance this could be moved forward? Thanks! |
@@ -751,6 +759,8 @@ export default { | |||
|
|||
document.addEventListener('keyup', this.keyup) | |||
|
|||
setWrapCodeBlocks(wrapCodeBlocks); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the semicolon.
Very useful feature, I am just not sure that this feature will be implemented in the |
@@ -19,6 +19,7 @@ | |||
"codeFontFamily": "DejaVu Sans Mono", | |||
"codeBlockLineNumbers": true, | |||
"trimUnnecessaryCodeBlockEmptyLines": true, | |||
"wrapCodeBlocks": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrapCodeBlocks
should be false
by default to keep the old behavior.
Muya for sure because the content is created and manipulated by Muya. |
@syco Please solve this conflicts and comments. |
Sorry, but I'm no longer using marktext. |
Description
[Description of the bug or feature]