mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[GH-ISSUE #541] Newline in Preview section #270
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#270
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @triet-truong on GitHub (Jul 14, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/541
New line doesn't appear in preview section.
As picture shown below, notice the line "create database ..." and "grant all ...".
@ZeroX-DG commented on GitHub (Jul 14, 2020):
By default, everything you type in will be consider as markdown. Thus no newline will be preserved. However, if you want to keep the newlines, you can wrap the content inside a codeblock.
@triet-truong commented on GitHub (Jul 14, 2020):
I tested a few online markdown editors like:
And all of them preserve new line, even on this Github md editor. Can you check on that?
@ZeroX-DG commented on GitHub (Jul 14, 2020):
Well, I know what you are talking about. It's best to wrap the content in a codeblock. But if you prefer to keep the newline, you can go to setting and add this piece of code to the custom CSS:
@triet-truong commented on GitHub (Jul 14, 2020):
Thank you very much for the help. I think the below piece of custom CSS code suits me most.
Hope it's good enough to be a default setting.
@Flexo013 commented on GitHub (Jul 15, 2020):
For users migrating from Boostnote Legacy to BoostNote.next:
The solution mentioned above by @Trieste96 will act just like the 'Render newlines in Markdown paragraphs as <br>' option from the old app.