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

Hard line breaks #71

Closed
vkbo opened this issue Oct 25, 2019 · 1 comment
Closed

Hard line breaks #71

vkbo opened this issue Oct 25, 2019 · 1 comment
Assignees
Labels
enhancement Request: New feature or improvement
Milestone

Comments

@vkbo
Copy link
Owner

vkbo commented Oct 25, 2019

Markdown supports hard line breaks, but novelWriter doesn't currently parse these. Currently, line breaks are not added at all when rendering (aside from making the export source readable). Instead, as markdown specifies, paragraphs are separated by one or more empty line.

In markdown, hard line breaks are achieved by adding two or more spaces at the end of a line. An idea would be to add this as well, but highlight them with the syntax highlighter so it is visible. A keyboard shortcut would also be useful, one that would add two spaces and a return, possibly with the Shift+Enter and Shift+Return key combination.

@vkbo vkbo added the enhancement Request: New feature or improvement label Oct 25, 2019
@vkbo vkbo self-assigned this Oct 25, 2019
@vkbo vkbo mentioned this issue Oct 28, 2019
@vkbo
Copy link
Owner Author

vkbo commented Oct 28, 2019

Added in PR #83. Uses Ctrl+Enter instead.

@vkbo vkbo closed this as completed Oct 28, 2019
@vkbo vkbo added this to the Version 1.0 Release milestone Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request: New feature or improvement
Projects
None yet
Development

No branches or pull requests

1 participant