How to remove margin before heading

I would like to remove the margin above a heading

In the above image, you can see the highlighted heading which includes a lot of space above the heading. Somehow that showed up. It wasn’t there before.

You could try this:

.is-live-preview .cm-content > .HyperMD-header {
    --p-spacing: 0;
}
1 Like

Thank you very much! That works.

Where am I pasting this snippet?

In a .css file as detailed here:

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