silverbulletmd / silverbullet

The knowledge hacker's notebook
https://silverbullet.md
MIT License
2.29k stars 166 forks source link

Proposal: Increase headline margin for better readability #1037

Open puresick opened 4 weeks ago

puresick commented 4 weeks ago

Hey there :wave:. First of all thank you for silverbullet. I am using it for a couple of weeks now and it is a blast!

One thing I noticed is the narrow spacing between headlines and paragraphs, which can make it hard to skim through long pages with lots of text including multiple headlines and paragraphs.

image

I would like to suggest adding a bit of margin to the top of headings. This gives them "a bit more room to breath" and results in a clearer distinction between sections on a page, e.g.:

image

I know about the possibility of custom styles, but this might be a general improvement for increasing readability. What do you think? I can also open a PR for this if there is interest in this change.

zefhemel commented 4 weeks ago

Sounds good to me, looking forward to a PR!

puresick commented 3 weeks ago

PR is open and ready to review: https://github.com/silverbulletmd/silverbullet/pull/1039