marktxt is a plain-text markup language that replaces both markdown and html.
markdown has traps:
_underscores_ trigger italic — your file_path_name breaks**double stars** trigger bold — shell globs break# triggers headings — code comments break> triggers blockquote — shell redirects break--- triggers horizontal rules — visual separators breakhtml is unreadable:
tag soup. open tags, close tags, matching names, entity escaping. unreadable in plain text.
marktxt uses ; as the only trigger. plain text stays plain.
;;. (inline) ;| (block) ;" (attribute)just headings + bullets + plain text. enough for most docs.
inline code and code blocks. good for technical docs.
bold, italic, blockquotes, checkboxes.
urls, linked text, images, tables, dividers.
div, span, strikethrough, superscript, subscript, footnotes.
beyond L5: full mtml (elements, attributes, html replacement).
mt.php is a single-file PHP parser that converts .mt and .txt files to valid HTML.
mt.php + .htaccess on shared hosting.mt or .txt filesexample.com/about serves about.mt (or about.txt if no .mt exists).mt takes priority — if both exist, .txt is ignoredgithub · © 2026 digiopsys. powered by marktxt.