Styling tag inside a note

Hi,

I would like to customize how tags are displayed when using in a note. I have tried the following snippets but none of them seem to work:

item[data-type="note"] run[tag] {
    font-size: 11px;
}
// or
item[data-type=note] {
    run[tag] {
        font-size: 11px;
    }
}

Any suggestions would be very appreciated.

thanks,

:- alex

I am just learning so I don’t want to steer you wrong … A possible solution might be what I did this morning. I too wanted to format my notes. I decided that, since I can easily color entries by their tags, I set up some unique tags so I could play with my formatting in notes. Yes, that means I have to put the appropriate tags after each notes section I want to alter, but my tags are light gray and it isn’t distracting to me.

// Colors the tag “@headder2” blue, size font.
item[data-headder2] {
font-style: none;
font-size: 18;
color: rgb(42, 84, 165);
}

// Colors the tag “@headder3” grey, size font.
item[data-headder3] {
font-style: none;
font-size: 16;
color: rgb(115, 115, 115);
}

The problem here is that you need a > joining item and run, like this:

item[data-type="note"] > run[tag] {
    font-size: 11px;
}