The best I can imagine, if you really want the regular brackets to sicbe italicized, define contentwith your brackets along with italics, for example 𝘴𝘪𝘤, so something like:
span {
&.sic {
&:after {
content: "[𝘴𝘪𝘤]";
}
}
}
But I think that with Unicode characters would be better:
content: "\005B\1D460\1D456\1D450\005D";
span:after {
content: "\005B\1D460\1D456\1D450\005D";
}
<span>some text</span>
Run codeOtherwise, you have to go with all italics:
&:after {
content: "[sic]";
font-style: italic;
}
Or no italics:
&:after {
content: "[sic]";
}
source
share