artisticat1 / obsidian-tikzjax

Render LaTeX and TikZ diagrams in your notes
MIT License
454 stars 27 forks source link

[BUG] Chemfig: \usetikzlibrary{decorations.pathmorphing} can't be used #75

Closed ALTONPHA closed 3 months ago

ALTONPHA commented 3 months ago

The problem shows as follows:

\usepackage{chemfig}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\chemfig{A-[,3,,,decorate,decoration=snake]B}
\end{document}

This code don't work in obsidian, witch should show as follow:

Screenshot 2024-08-24 at 9 30 13 am