-
so I have decided to change the default icons for headings with this snippet in my config ["core.norg.concealer"] = {
config = {
icons = {
heading = {
enabled = true,
level_1 = {
enabled = true,
icon = "◉",
},
level_2 = {
enabled = true,
icon = "○",
},
level_3 = {
enabled = true,
icon = "●",
},
level_4 = {
enabled = true,
icon = "○",
},
},
},
},
}, |
Beta Was this translation helpful? Give feedback.
Answered by
vhyrro
Oct 22, 2021
Replies: 1 comment 3 replies
-
Hey! The reason is because of the way the concealer even works, and that is placement. Icons always get placed at the very beginning of the node they belong to. To add an offset add the corresponding number of spaces beforehand, so for Ultimately it should look like this: ["core.norg.concealer"] = {
config = {
icons = {
heading = {
enabled = true,
level_1 = {
enabled = true,
icon = "◉",
},
level_2 = {
enabled = true,
icon = " ○",
},
level_3 = {
enabled = true,
icon = " ●",
},
level_4 = {
enabled = true,
icon = " ○",
},
},
},
},
}, Try it out! It should work :) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
mrossinek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! The reason is because of the way the concealer even works, and that is placement. Icons always get placed at the very beginning of the node they belong to. To add an offset add the corresponding number of spaces beforehand, so for
level_2
make the icon" ○"
(added one space beforehand), forlevel_3
prepend two spaces before the icon etc.Ultimately it should look like this: