Indent text after headings

Hello,

i am trying to achieve something known from word and co. D:
I managed to indent h2, h3 and h4 headings, and now want to indent the text after them too.
I read in the forum but only found +2y old threads, saying that this is not possible. Is there any way found in the meantime? Does anyone know?

My current css looks like the following:

.cm-header-1, .markdown-preview-view h1 {
color: DarkRed;
font-weight: bold;
font-family: Consolas;

}

.cm-header-2, .markdown-preview-view h2 {
color: Green;
font-weight: bold;
font-family: Consolas;
margin-left: 10px;
}
.cm-header-3, .markdown-preview-view h3{
color: Cyan;
font-weight: bold;
font-family: Consolas;
margin-left: 30px;
}

Any help is appreciated. :slight_smile:

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