Release Notes
14 Oct 2026: ver. 2.1.0
- New extension
mexVideo: an image of a video file () is written as a video with its controls, with a link to the file for the viewers that cannot play it; enabled by default in the TMarkdownToHTML component, shown also in safe mode (see Videos) - MarkDownToHTML.exe uses the same default extensions as the TMarkdownToHTML component: GitHub-style heading ids (the links to a section of the document work), subscript, superscript, insert, mark, smart typography, video
- Default stylesheet: the videos fit the width of the page
- MarkDown Support Test.md: new section "Video"; Demo: new checkbox "Video"
08 Oct 2026: ver. 2.0.0 (major version: new CommonMark/GFM engine)
- New engine (block parser, inline parser, HTML renderer) written after the parsing strategy of the CommonMark specification, still compatible from Delphi XE3
- CommonMark dialect on the new engine: CommonMark 0.31.2, all the 652 examples of the specification pass
- New dialect GFM: GitHub Flavored Markdown 0.29 (tables, task lists, strikethrough, extended autolinks, disallowed raw HTML), all the 24 examples pass
- New dialect GitHub, the new default: GFM plus math, alerts and mermaid diagrams, as github.com
- DaringFireball and TxtMark: original engine, output unchanged
- Optional syntax enabled one by one with
Config.Extensions: math, GitHub alerts, mermaid, subscript, superscript, insert, mark, smart typography, heading ids, wiki links - Math written for KaTeX/MathJax, or as images (
Config.MathRendering) for viewers without JavaScript - Mermaid diagrams written for mermaid.js
- Read-only syntax tree:
ParseandRender, with the source lines of every block - Safe mode of the new engine: raw HTML omitted, dangerous links emptied
- Linear time on pathological inputs
- New Delphi packages MarkdownProcessor and dclMarkdownProcessor (Delphi XE6 to 13), with build scripts
- New non-visual component TMarkdownToHTML (all the legacy extensions enabled by default) and new Demo
- Updated MarkDown Support Test.md: every feature of the GitHub dialect and of the legacy extensions
- New Setup for automatic installation, with optional MarkDownToHTML.exe (32 or 64 bit)
- MarkDownToHTML.exe: new
-dialect:GitHub(default) and-dialect:GFM - DUnitX conformance test suite (Win32 and Win64)
- Breaking changes for the CommonMark dialect: see Migrating to the new engine
17 Jun 2026: ver. 1.4.1
- fixed tables: inline constructs no longer span cells
- updated Markdown Support Test.md file
11 Jun 2026: ver. 1.4.0
- Added "-unsafe" command line option to MarkDownToHTML.exe (safe mode is the default)
- Fixed safe mode: unsafe HTML elements (script, iframe, object, applet, frame...) are now correctly escaped
- Math formulas: replaced the deprecated Google Chart API with the CodeCogs LaTeX renderer
- Math formulas: added support for centered formula blocks using the $$...$$ syntax
- Improved tables support
- TUtils.codeEncode now encodes spaces as %20
- Aligned with upstream FPC-markdown by Miguel A. Risco-Castillo
21 Aug 2025: ver. 1.3.0
- Added support for Delphi 13
- Added command line utility MarkDownToHTML.exe
08 Apr 2025: ver. 1.2.0
- Fixed const parameters
16 Dec 2024: ver. 1.1.0
- Updated Demo for FireMonkey
22 Oct 2023: ver. 1.0.0
- Project forked from FPC-markdown by Miguel A. Risco-Castillo
- Removed unused Dialect mdAsciiDoc
- changed position of enumerated dialect mdCommonMark for backward compatibility with Delphi-Markdown
