[WordPress] 外掛分享: Djot Markup

首頁外掛目錄 › Djot Markup
全新外掛
安裝啟用
尚無評分
12 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.2+ v1.5.11 上架:2026-02-03

內容簡介

Djot Markup 外掛讓 WordPress 支援 Djot 標記語言。Djot 由 CommonMark 與 Pandoc 作者 John MacFarlane 所開發,語法比 Markdown 更簡潔一致,適合需要進階排版功能的內容創作者。

【主要功能】
• 完整支援 Djot 語法,包含表格、註腳等元素
• 提供短代碼 [djot] 與內容篩選器兩種使用方式
• 自動產生目錄,可設定標題層級與位置
• 內建 XSS 安全模式,防護不受信任的內容
• 透過 Torchlight Engine 提供伺服器端語法高亮
• 支援深色模式,CSS 自動適應使用者偏好

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.11) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Djot Markup」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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:

Links

WordPress.org Plugin Page
Djot Syntax Reference
GitHub Repository
Report Issues

延伸相關外掛

文章
Filter
Apply Filters
Mastodon