跳到内容

Djot Markup

v1.5.18

markmarkmark · 2026年2月4日 上架

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

正在使用
10 以下
评分
暂无
累计下载
1,429
最近更新
2026年7月14日
需要 WordPress 6.3+已测试到 7.0.9PHP 8.2+

贡献者

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums