Skip to content

problems with custom icons for headings #165

Answered by vhyrro
wiljam144 asked this question in Q&A
Discussion options

You must be logged in to vote

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), for level_3 prepend two spaces before the icon etc.

Ultimately it should look like this:

["core.norg.concealer"] = {
                config = {
                    icons = {
                        heading = {
                            enabled = true,
                        
                            level_1 = {
                                enabled = true,
                                icon = "

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wiljam144
Comment options

@vhyrro
Comment options

@vhyrro
Comment options

Answer selected by mrossinek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants