mkdocs-windmill icon indicating copy to clipboard operation
mkdocs-windmill copied to clipboard

Extra space on indented lists

Open warm-bagel opened this issue 5 years ago • 1 comments

Hello! Love the windmill theme.

One bug I noticed: In Markdown, I type:

- list
    - a
    - b
- next list
    - c

When rendered into my wiki, there is more space between - list and - a than there is between - b and - next list. Which doesn't seem right. It throws off the look when you are trying to show organization and the separation (if any) should be between - b and - next list.

warm-bagel avatar May 06 '20 19:05 warm-bagel

This doesn't seem to be an issue with the theme. I am not seeing it for your specific example (assuming regular paragraphs before and after and no extra CSS).

The reason for strange spacing could be with markdown wrapping list items into a

element. This https://daringfireball.net/projects/markdown/syntax#list mentions:

If list items are separated by blank lines, Markdown will wrap the items in

tags in the HTML output.

If you have any additional CSS rules for ul or li elements (custom or from an external library), those could be another culprit.

dsagal avatar May 08 '20 05:05 dsagal