Djot Markup

Djot markup language support for WordPress. A modern, cleaner alternative to Markdown.

Author:markmarkmark (profile at wordpress.org)
WordPress version required:6.0
WordPress version tested:6.9.4
Plugin version:1.5.11
Added to WordPress repository:04-02-2026
Last updated:31-03-2026
Rating, %:0
Rated by:0
Plugin URI:https://wordpress.org/plugins/djot-markup/
Total downloads:629
plugin download
Click to start download

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


FAQ
ChangeLog