Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra space on indented lists #42

Open
warm-bagel opened this issue May 6, 2020 · 1 comment
Open

Extra space on indented lists #42

warm-bagel opened this issue May 6, 2020 · 1 comment

Comments

@warm-bagel
Copy link

warm-bagel commented May 6, 2020

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.

@dsagal
Copy link
Member

dsagal commented May 8, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants