Import latex file in specific note

if I have some predefined commands in latex and would like to import
$\require{mhchem}$
$\newcommand{\bfy}{\mathbf{y}}$
without copy pasting every time but just importing a single file ?

You can try obsidian-latex plugin.