Markdown Extra is a lightweight markup language extending the original Markdown syntax with additional constructs for structured web content.
Developed by Michel Fortin, Markdown Extra originated within the PHP Markdown project. It builds on Markdown’s plain-text writing conventions while introducing features that otherwise require manually written HTML.
Markdown Extra is especially useful when documents contain reference material, explanatory notes or data organised into tables. Its additional syntax allows these elements to be described within the source document without sacrificing much of Markdown’s readability.
The language also provides greater control over the relationship between Markdown and HTML. Markdown can be enabled inside selected HTML blocks, allowing authors to use HTML for document structures while retaining Markdown formatting for their contents.
Attributes can be attached to selected document elements. These enable custom identifiers and styling classes that are useful when integrating generated content into a website.
Markdown Extra predates several other widely adopted Markdown extensions. Although subsequent Markdown dialects offer comparable constructs, differences in their syntax and parsing behaviour can affect document compatibility.
The PHP Markdown library implements standard Markdown and Markdown Extra through separate parser classes, allowing applications to select the appropriate syntax.
This is free and open source software.
Key Features
- Markdown-compatible syntax for ordinary document formatting.
- Pipe-delimited tables with header rows.
- Column alignment within tables.
- Footnote references and definitions.
- Definition lists with multiple terms and descriptions.
- Abbreviations with explanatory definitions.
- Fenced code blocks without mandatory indentation.
- Class and ID attributes on supported document elements.
- Markdown processing inside supported HTML blocks.
- Configurable handling of Markdown within HTML structures.
- Standard Markdown links, images and quotations.
- HTML generation through the PHP Markdown Extra parser.
Website: michelf.ca/projects/php-markdown
Support:
Developer: Michel Fortin
License: BSD-style License
Related Software
| Lightweight Markup Languages | |
|---|---|
| Markdown | Markup language and Text-to-HTML conversion tool |
| MultiMarkdown | Based on Markdown with additional features |
| GitHub Flavored Markdown | For user content on GitHub.com and GitHub Enterprise |
| Markdown Extra | Lightweight markup language based on Markdown |
| AsciiDoc | Presentable text document format for writing articles |
| Textile | Billed as a "humane web text generator" |
| Texy | Text-to-XHTML formatter and converter library |
| Tome | Markup Language and Tool Suite for Authors |
| reStructuredText | Markup Syntax and Parser Component of Docutils |
| Haml | Templating engine for HTML |
| JsonML | Map between XML and JSON |
| TOML | Tom’s Obvious Minimal Language |
| Djot | Light markup language inspired by CommonMark |
| Org-mode | Plain text markup for notes, documents, and workflows |
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.