Editing with Atom - https://medium.com/@lucasrebscher/using-atom-as-a-latex-editor-93756de3d726
Anki Header settings
\documentclass[fleqn, 12pt,border=1mm,varwidth=8in]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsmath}
\usepackage{tikz-cd}
\usepackage{multicol}
\usepackage{mathtools}
\begin{document}
Anki Footer settings
\end{document}
(Set under Anki Tools -> Manage Note Types -> Options (for Basic))
Custom addon so tixcd works:
newLaTeX = \
[
["pdflatex", "-interaction=nonstopmode", "tmp.tex"],
["sips", "-s", "format", "png", "tmp.pdf", "--out", "tmp.png"]
]
import anki.latex
anki.latex.pngCommands = newLaTeX