ytliu74 / obsidian-pseudocode

An obsidian plugin that helps to render a LaTeX-style pseudocode inside a code block.
MIT License
84 stars 4 forks source link

Macros does not work #12

Closed phantamoe closed 1 year ago

phantamoe commented 1 year ago

Hi,

Do you know how should I include a macro inline or in the preamble? I tried \newcommand and \def\foo{x^2} before the algorithm section and various other things, but none has worked. Mind giving an explicit example?

Thank you

phantamoe commented 1 year ago

Nevermind, it seems to work after enabling in the setting