The page name should end in .md and be stored in a file ending .md.txt but apart from that it's exactly as you'd expect with the PHP markdown extra https://michelf.ca/projects/php-markdown/extra/