markbind icon indicating copy to clipboard operation
markbind copied to clipboard

Adjust spacing between bullet points

Open damithc opened this issue 6 years ago • 6 comments

v1.13.0 Current: image

Problem: too much space above subpoint, and too little between main points

damithc avatar Oct 03 '18 07:10 damithc

Seems like an issue with the md, the extra spacing occurs because newlines are left between bullet points:

untitled

image

When the newlines are removed it renders properly:

image

image

This is consistent with other lists in the page, for example this one lower down:

image

It might be better to go through the mds and remove all the extra newlines rather than changing the code. If we want some extra spacing between bullet points maybe we can add a few custom css entries?

jamos-tay avatar Dec 13 '18 14:12 jamos-tay

If we want some extra spacing between bullet points maybe we can add a few custom css entries?

Can you briefly describe how it can be attained with css?

yamgent avatar Dec 13 '18 14:12 yamgent

Something like this?

li ul, li ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

image

I have no idea how this would affect other everything else, though, I'm not too familiar with css...

jamos-tay avatar Dec 13 '18 14:12 jamos-tay

I see. It is a bit odd though, as the extra space appears at a different place from the blank line. The blank line improves the readability of the source code but reduces the readability of the rendered list :-p

damithc avatar Dec 13 '18 14:12 damithc

@damithc after using MarkBind for so many years, what do you think of this issue? I personally feel that since there are ample workarounds, if this does not affect usual operations I would be up to close this issue.

kaixin-hc avatar Apr 16 '24 18:04 kaixin-hc

@damithc after using MarkBind for so many years, what do you think of this issue? I personally feel that since there are ample workarounds, if this does not affect usual operations I would be up to close this issue.

@kaixin-hc It still bugs me but I've gotten used to it now. Seems like not easy to fix anyway.

damithc avatar Apr 16 '24 18:04 damithc