Convert ChatGPT markdown formula to $ format. You should use _substitution _ mode, and input ${1:+\$:\n\$\$\n}
${1:+\$:\n\$\$\n}