I am curious how to import custom Latex commands to obsidian notes. Since I have written some commands in Latex, and I would like to use/call them in the obsidian notes. However, I do not know how to do it. For now, we can rescope the discussion of the latex commands to only use in the math equation.

Obsidian supports LaTeX math via MathJax. Please note, that MathJax doesn’t provide a full LaTeX environment. Only math-mode macros are supported.

You can add your custom macros by putting them in your Markdown document. Unlike actual TeX, however, in order for MathJax to process such definitions, they must be enclosed in math delimiters (since MathJax only processes macros in math-mode):