Using Markdown with pandoc and pandoc-crossref is basically perfect as a substitute of LaTeX. It allows in-line and standalone LaTeX, and citations with crossref.
it works flawlessly, and it unarguably way cleaner than writing in plain latex
How can anyone
- tell me
- that this
- list
Is harder to read:
\begin{itemize}
\item than this
\item unintuitive
\item mess
\end{itemize}They convert LaTeX to the XML dialect that their in-house layout system understands.
[1] https://lee-phillips.org/panflute-gnuplot/ [This is sort of obsolete now, as you should probably write filters with Lua. But it’s still a good illustration of the possibilities.]