We are currently planning to migrate to a different platform for the forum. We will announce this fact both here and on Twitter, once we have settled on a solution.

Cascade indentation in heading levels

edited March 4 in Customisation

Hello,
I would like to achieve the effect of cascade indentation based on the heading level like this:

While I believe it could be done using custom css, my code:
.CodeMirror .size-header-2 { font-size: 1.2em; padding-left: 1.2em !important; } does not affect the typing pointer when editing the 2nd level header, so typing happens with ~2 letter shift. Below is a presentation of the issue. After setting the pointer where I wanted to add space, the space appears somewhere else.

How should I go about adding automatic indentation to the headings, and possibly the text as well?

Kind regards,
Michael.

Comments

Sign In or Register to comment.