[WordPress] 外掛分享: Dark Code

首頁外掛目錄 › Dark Code
10+
安裝啟用
尚無評分
57 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.0+ v0.1 上架:2022-05-31

內容簡介

讓你的程式碼進入暗黑模式。

預設情況下,在 WordPress 網站前端中,受歡迎的 Dracula Theme + Highlight.js 搭配美觀的暗黑色程式碼醒目。但是,如果你喜歡的話,你可以完全自定義程式碼醒目的外觀(在外觀 > 客製化 > 程式碼樣式之下),甚至把整體設計變成 🧛‍♂️ 嘶嘶聲一聲的亮色模式設計。

只需啟用這個外掛,前端網站內任何在 <pre><code>...</code></pre> 標籤內的程式碼都會根據偵測到的語言自動醒目。

Dracula: https://draculatheme.com/
Highlight.js: https://highlightjs.org/

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Dark Code」→ 直接安裝(推薦)

原文外掛簡介

💬 Ask Question | 📧 Email Me
Dark mode for your code.
By default, the popular Dracula Theme + Highlight.js make for beautifully dark code highlighting on the front-end of your WordPress-powered website. However, you can completely customize the look of code highlighting (under Appearance > Customize > Code Styles) if you like, even changing the overall design to, 🧛 *hiss*, a light mode design.
Simply activate this plugin and any code found within

tags on the front-end of your site will automatically be highlighted according to the detected language.
Dracula: https://draculatheme.com/
Highlight.js: https://highlightjs.org/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon