[WordPress] 外掛分享: Simple Code Block Highlighter

首頁外掛目錄 › Simple Code Block Highlighter
WordPress 外掛 Simple Code Block Highlighter 的封面圖片
全新外掛
安裝啟用
尚無評分
7 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.2.2 上架:2026-05-20

外掛標籤

開發者團隊

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

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

原文外掛簡介

Simple Code Block Highlighter enhances the default WordPress code and preformatted blocks. It can show line numbers, add a copy-to-clipboard button, switch between light and dark display themes, and automatically color code blocks with bundled Highlight.js syntax highlighting.
The plugin uses the WordPress Settings API, validates and sanitizes saved options, escapes admin output, and avoids inline JavaScript-generated HTML for line numbers. Syntax highlighting is served from the plugin files and does not load a third-party CDN on visitor pages.
For setup help, read the Simple Code Block Highlighter guide.
Third-party Libraries
This plugin bundles Highlight.js 11.11.1 for syntax highlighting.
Highlight.js
Source: Highlight.js on GitHub
License: BSD 3-Clause
License file included at: assets/vendor/highlightjs/LICENSE

延伸相關外掛

文章
Filter
Mastodon