I was using obsidian to make my math notes and while studying continuity i wanted to type a system of equations how can i do the above?
$$ f(x) = \begin{cases} x, & \text{if $x \leq 1$} \\ 5, & \text{if $x > 1$} \end{cases} $$