Markdown Previewer: Whitespace under list

Hi. I can’t figure out why there is so much white-space under the list in the previewer.

Any suggestions?

Here’s the pen:

Hi there,
I inspected this part. apparently, there are a bunch of pseudocode elements as markers.

1 Like

It looks like it is caused by the white-space: pre-wrap on .preview.

You may want to target that style a bit more specifically (I’m guessing it’s meant for the pre/code stuff).

1 Like

Yeah. Thanks. I saw those in dev tools, but I didn’t know what they were or how to get rid of them. Do you know what they are and how to get rid of them? Thanks.

I think you got it. I deleted that property and all the vertical spacing disappeared. Thank you so much!!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.