Djot Markup
Djot markup language support for WordPress. A modern, cleaner alternative to Markdown.
Use with caution
Djot Markup works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 49/100 on our health check.
- Small user base (<10 active installs)
- Very few reviews so far
- Needs PHP 8.2 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where Djot Markup stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| code | >100 |
| djot | #1 |
| markdown | >100 |
| markup | >100 |
| syntax highlighting | >100 |
About Djot Markup
From the official readme Β· v1.5.18Description
Djot Markup adds support for the Djot markup language in WordPress. Djot is created by John MacFarlane (creator of CommonMark and Pandoc) and offers cleaner syntax with more consistent parsing rules than Markdown.
Features
- Full Djot Support: Headings, emphasis, links, images, code blocks, tables, footnotes, and more
- Shortcode Support: Use
[djot]...[/djot]in your content - Content Filtering: Automatically process
{djot}...{/djot}blocks - Table of Contents: Automatic TOC generation from headings with configurable levels and position
- Safe Mode: XSS protection for untrusted content
- Syntax Highlighting: Server-side highlighting with Torchlight Engine
- Admin Settings: Easy configuration through WordPress admin
- Template Tags: Functions for theme developers
- Dark Mode Support: CSS adapts to dark mode preferences
Usage
Shortcode:
[djot]
# Hello World
This is _emphasized_ and this is *strong*.
- List item 1
- List item 2
[/djot]
Template Tags:
<?php
$html = wpdjot_to_html('# Hello *World*!');
wpdjot_the('# _Hello_ *World*!');
?>
Links
Installation
- Upload the plugin files to
/wp-content/plugins/wp-djot - Run
composer installin the plugin directory - Activate the plugin through the ‘Plugins’ screen in WordPress
- Configure settings under Settings β Djot Markup
Changelog
Adds experimental visual editor (WYSIWYG) for Djot blocks. Enable in Settings β Djot Markup β Experimental.
1.5.18
- Security: the public comment-preview endpoint is now gated (403 when Djot comments are disabled) and per-IP rate-limited, so anonymous callers can no longer drive the render pipeline unbounded; editors are exempt and input is capped.
- Security: updated the bundled djot-php library to 0.1.32 – two XSS fixes (the raw-HTML image fallback and raw HTML minted from a foreign code fence) and a nested-bracket denial-of-service fix.
- The Markdown and HTML paste-conversion endpoints reject input over 512 KB with a 413 instead of converting an arbitrarily large paste.
- The [djot] shortcode is excluded from wptexturize, so titled fences like ::: tab “Overview” keep their quotes.
- The stylesheet loads only on views that actually render Djot; the wpdjot_enqueue_styles filter can force it.
- Minimum WordPress raised to 6.3 (the block uses Block API v3).
- Assets cache-bust by file mtime instead of the plugin version, so hotfixes that do not bump the version still invalidate CDN and browser caches.
- The release zip installs into the canonical djot-markup folder, so a manual admin upload replaces the existing plugin instead of creating a duplicate beside it.
- Dark-mode styles (admonitions, tabs, code groups, comment tabs) follow a site-level theme toggle in both directions, matching the code blocks.
- Mermaid diagrams render in the effective color scheme (site toggle or OS preference) and re-render on scheme changes, without capturing already-rendered SVG as source.
- Dark-mode code themes actually activate now: code blocks follow prefers-color-scheme and a site theme toggle wins over the OS; dual-theme style attributes are normalized.
- Torchlight highlighting: a more robust phiki capture-offset patcher (closing inline delimiters keep their scope), the dist build installs without Composer scripts, and the dark-theme CSS covers every highlighter span.
1.5.17
- Safe mode now defaults to on for fresh installs: with no saved settings yet, rendering previously ran with safe mode disabled until the settings page was saved once.
- Safe mode is forced when DISALLOW_UNFILTERED_HTML is set, mirroring how core strips the unfiltered_html capability.
- The visual editor no longer loses admonition titles ({title=”…”}) on a round trip: the title is captured, stays visible while editing, and serializes back to the attribute line.
- Changed minimum djot-php library to 0.1.31: tab set and code group ids are deduplicated against explicit ids and heading anchors, so a colliding id attribute or heading slug no longer produces duplicate DOM ids with broken tab wiring. Also hardens URL schemes in the non-HTML renderers and derives heading ids from source text rather than smart-punctuation glyphs.
- Updated bundled Mermaid to 11.16.
1.5.16
- Changed minimum djot-php library to 0.1.29, bringing upstream parser fixes for empty list items, indented and lazily-wrapped list markers, blockquote tab delimiters, and stricter reference definition handling.
- Kept heading anchor IDs stable across the upgrade. Djot 0.1.29 now preserves non-ASCII characters in auto-generated IDs by default, but the plugin keeps the ASCII-folded IDs introduced in 1.5.14 (e.g. “Γber uns” becomes “Uber-uns”) so existing in-page links keep working.
- Fixed the migrate command so shortcodes and Gutenberg blocks are preserved correctly after the djot change that escapes special characters during conversion.
1.5.15
- Changed minimum djot-php library to 0.1.28, bringing upstream parser fixes for sequential list-item attributes, numeric reference-label warnings, and nested list blocks with deeper indentation or tabs.
- Added the Djot Markup demo video directly to the WordPress.org plugin page.
- Fixed Markdown conversion for title-less
<abbr>tags so the semantic element is preserved instead of flattened to plain text. - Improved translator context for strings that contain placeholders or literal syntax tokens.
1.5.14
- Changed auto-generated heading anchor IDs to be transliterated to ASCII (e.g. “Γber uns” becomes “Uber-uns”, “cafΓ©” becomes “cafe”) so deep links survive being shared through chat, email, and other auto-linkers that mangle non-ASCII fragments. Note: anchors for existing non-ASCII headings change, so update any hardcoded in-page links.
- Changed the smart-quotes default for new installs to “Auto (from site language)” so a non-English site gets the right typographic quotes out of the box. Existing sites that already saved a quote setting are unaffected.
- Changed Mermaid to load from the bundled copy instead of an external CDN, so diagrams render without an external request (better privacy, reliability, and offline support).
- Changed minimum djot-php library to 0.1.27.
- Tested up to WordPress 7.0.
1.5.13
- Fixed shell/bash code blocks flooding the error log with PCRE lookbehind compile warnings by upgrading torchlight/engine to ^1.0 (pulls phiki 2.x, which tokenizes with Oniguruma instead of PCRE)
- Changed markdown and djot fenced code blocks to use real syntax highlighting again β the plain-text fallback was only needed to dodge phiki 1.x’s PCRE issues and is no longer required
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best Djot Markup alternatives
All code plugins βFAQ
Djot Markup: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Djot Markup free?
Yes. Djot Markup is free to download and use from the official WordPress.org plugin directory.
Is Djot Markup safe to use in 2026?
Djot Markup works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 49/100 on our health check.
How many websites use Djot Markup?
Djot Markup is active on <10 WordPress websites and has been downloaded 1,453 times since it launched in February 2026. It was downloaded 90 times in the last 30 days.
Does Djot Markup work with WordPress 7.1?
Djot Markup is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Djot Markup need?
Djot Markup requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Djot Markup last updated?
The latest version, 1.5.18, was released on July 13, 2026 (5 months ago).
Who makes Djot Markup?
Djot Markup is developed and maintained by markmarkmark.
What are the best alternatives to Djot Markup?
The most popular alternatives to Djot Markup are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
