Open joseplayero opened 3 weeks ago
/bounty $65
/attempt #362
with your implementation plan/claim #362
in the PR body to claim the bountyThank you for contributing to reorproject/reor!
Add a bounty • Share on socials
Attempt | Started (GMT+0) | Solution |
---|---|---|
🔴 @Mubashirshariq | Aug 23, 2024, 6:02:06 AM | WIP |
🔴 @jkcs | Aug 26, 2024, 8:22:21 AM | WIP |
🟢 @govindup63 | Aug 26, 2024, 2:16:01 PM | WIP |
🟢 @milaiwi | Sep 7, 2024, 4:33:41 AM | #399 |
@joseplayero can i get this assigned,if nobody is working on it!
@joseplayero Can you assign this to @Mubashirshariq. I'm currently busy with other stuff right now.
Absolutely you're assigned @Mubashirshariq !
/attempt #362
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@Mubashirshariq | 2 bounties from 2 projects | JavaScript, TypeScript, HTML |
Cancel attempt |
@joseplayero i was working on this and i debugged it got the follwoing results that in html all the \
are getting converted to br tag, and i have added the newline when a user presses enter
Can I give this a try?
Yes please go ahead @jkcs :)
/attempt #362
Am available to give it a go.
if this issue isn't resolved can i get assigned to it coz I made an attempt earlier
please both try it @govindup63 @amochuko
Unassigned @amochuko & @govindup63 as looks like no progress.
@milaiwi now assigned!
/attempt #362
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@milaiwi | 2 reorproject bounties | TypeScript, Go, Python |
Cancel attempt |
💡 @milaiwi submitted a pull request that claims the bounty. You can visit your bounty board to reward.
Problem
When a user types newlines into the editor, closes the file and re-opens it, those newlines disappear. Only holding shift while pressing enter preserves the newlines and its because the markdown file gets saved with backslashes \ where the newlines are.
Solution
Fix the issue without needing backslahses and ideally without conditional logic manually parsing particular characters but with changes to the extension settings/config - like tiptap markdown.
We should look to basically have the same behaviour as Obsidian which saves newlines to markdown without backslashes and then opens those files with newlines correctly placed in the editor.