What I want to get
I wanted to use css’s margin
command in order to have more space around headings.
Steps to reproduce
- Make sure that the legacy mode is on and you are editing the file.
- Create a bunch of h1-h3 headers and walls of text in between.
- Open Developer Console by pressing Ctrl+Shift+I.
- Add the following CSS code:
.HyperMD-header-1, .HyperMD-header-2, .HyperMD-header-3 {
margin: 40px !important;
}
To illustrate the margins that were created:
4. Bug: Now click on text and see that the visual place of the cursor differs from the actual editing place:
Environment
- Operating system: Linux Mint 20.2 Cinnamon
- Obsidian: the latest v0.13.19
- Tested in Help Vault