txt2tags
Plain text markup converter for HTML, LaTeX, DocBook and wiki formats
txt2tags is a small markup language and document generator. You write a plain text file using its simple markup, and it produces the same content in other formats. It suits writers and developers who need one source file turned into web pages, LaTeX documents, man pages or wiki syntax.
The output formats include HTML, XHTML, SGML, LaTeX, DocBook, Lout, man pages, Creole, several wiki dialects, MagicPoint, PageMaker, AsciiDoc and ASCII art. The source code is public on GitHub, so it is open source. More information is available on the project website at txt2tags.org.
Alternatives to txt2tags
Products that do a similar job in Notes & Writing.
CotEditor
Plain-text editor for macOS aimed at web pages and source code
Pandoc
command-line converter between many document markup formats
Obsidian
Knowledge base built on a local folder of plain Markdown files
MacTeX
Full TeX Live distribution with GUI apps for macOS
BasicTeX
Compact TeX distribution for macOS
Text Editor
Simple plain text editor for Linux desktops
VNote
Markdown and plain text note editor with mind maps and Typst support
FSNotes
Markdown note-taking app for Mac and iPhone