I want to change the background color for latex formula blocks in typora. Since typora support few latex package, I don't know how to make it.
The following is my attempt:
$\colorbox{lightgray}{$\pi= 1$}$
This works good for a single line formula, but I don't know how to apply it to the whole formula block, when there are several lines.