v7.6.0
Features
- add
--langtag-top
,--langtag-right
style props
The Highlight
components support style props to customize the langtag
, if displayed.
The default value for --langtag-top
and --langtag-right
is 0
.
<HighlightAuto
{code}
langtag
--langtag-top="0.5rem"
--langtag-right="0.5rem"
--langtag-background="linear-gradient(135deg, #2996cf, 80%, white)"
--langtag-color="#fff"
--langtag-border-radius="6px"
--langtag-padding="0.5rem"
/>