Is it possible to use MarkdownString
/MarkupContent
with code
or pre
with span
to emulate semantic tokens in Hover
? If so, is it possible to access the colors from the user's theme using only the CSS on the span
elements? Ideally I would like to avoid using anything VSCode specific.
I saw https://github.com/microsoft/vscode/issues/97409 but there was no solution.