Global newcommand support for katex

Hi, seems like we can use \def and \newcommand for katex, and the recommend way of doing it is in https://github.com/KaTeX/KaTeX/issues/3165.

I am wondering if this is possible to also def a global macro in logseq? Thanks!

I found out this issue in the github, and wonder if there is any update since then.