rspress icon indicating copy to clipboard operation
rspress copied to clipboard

[Feature]: Customising html element/docs example

Open zmzlois opened this issue 8 months ago • 1 comments

What problem does this feature solve?

Documentation example on grainular targeting element within element (with tailwind layers sometimes it works, sometimes it doesn't, very fickle) at the moment if I target h2 all navbar will look weird

What does the proposed API look like?

stated above, maybe even just some docs example would work.

example:

@layer base {
ol {
li {
@apply !mt-2;
}
h2 {
font-weight: 500;
}
p {}
}
}

zmzlois avatar Jun 05 '24 02:06 zmzlois