Quarto is an open-source scientific and technical publishing system built on Pandoc. Quarto documents are authored using markdown, an easy to write plain text format.
Here is where you can find the source code for various parts of the Quarto system: