內容簡介
讓你的程式碼進入暗黑模式。
預設情況下,在 WordPress 網站前端中,受歡迎的 Dracula Theme + Highlight.js 搭配美觀的暗黑色程式碼醒目。但是,如果你喜歡的話,你可以完全自定義程式碼醒目的外觀(在外觀 > 客製化 > 程式碼樣式之下),甚至把整體設計變成 🧛♂️ 嘶嘶聲一聲的亮色模式設計。
只需啟用這個外掛,前端網站內任何在 <pre><code>...</code></pre> 標籤內的程式碼都會根據偵測到的語言自動醒目。
Dracula: https://draculatheme.com/
Highlight.js: https://highlightjs.org/
外掛標籤
開發者團隊
原文外掛簡介
💬 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/
