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

Support "soft-return" atom (impossible due to github.com/jbarone/mobiledoc) #1

Open
tv42 opened this issue Dec 30, 2022 · 0 comments
Open

Comments

@tv42
Copy link
Owner

tv42 commented Dec 30, 2022

Mobiledoc atom soft-return means the thing you usually insert with shift+enter, a line break but not a paragraph break.

github.com/jbarone/mobiledoc has an API that is unable to support line breaks as atoms.
It expects an atom to convert to a string, and then puts that string through whitespace trimming.
Markdown linebreaks are \\\n or <space><space>\n, with significant whitespace in both.

Writing this down here just to leave a note.

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

No branches or pull requests

1 participant