For most usages, you don't need to write the code. Sometimes buff out rough edges for your specific application, but in my 12 years in academia, I think I've only really _written_ Latex twice.
By just using the existing "code"/markup. Similarly, I would not count writing markdown as programming. Now if you need some new stuff, e.g. complicated tree diagrams, it starts to turn into programming.