Describe the solution you'd like
TikZ is a latex package which supports a wide range of vector graphics.
node-tikzjax is a port of the tikzjax project that uses webassembly to render LaTeX and TikZ diagrams in the browser without needing to download the LaTeX toolchain environment.
Obsidian has had an extension called obsidian-tikzjax for at least 3 years now. It's time this extension begins support for TikZ.
I might have a PR in the next few days.