Closed DutchPete closed 1 year ago
I updated a version that includes this level information.
Thanks for that. I updated the plug-in.
If I do
.kef-tocgen-block {
text-transform: uppercase !important;
}
it transforms everything to upper case. How can I target specifically h2?
I tried adding .h2.uniline-block
but that does not work.
You have to write rules like this:
.kef-tocgen-block[data-level="1"] {
text-transform: uppercase;
}
.kef-tocgen-block[data-level="2"] {
font-variant: small-caps;
}
Many thanks. Logseq css code is different from Obsidian css code is some ways - I came from Obsidian.
In the ToC I would like to change the H2 font to uppercase, i.e.
text-transform: uppercase;
and for the H3 header I would likefont-variant: small-caps;
.I tried to find the selector via the dev tools but could not. Please advise.