
內容簡介
Simple Syntax Highlighting (SSH) 是一款簡單、乾淨且輕量級的 WordPress 外掛程式,可整合 highlight.js,它具有自動語言偵測功能並啟用語法突顯。您只需要選取文本,然後按下 按鈕,或按格式添加程式碼到 內。
鳴謝:
Highlight.js - https://highlightjs.org
行號外掛程式:https://github.com/wcoder/highlightjs-line-numbers.js
支援撰寫語言如下:
Java
C
HTML
CSS
PHP
以及其他 176 種語言,詳見:https://highlightjs.org/static/demo/
安裝
下載 Simple Syntax Highlighting 外掛程式壓縮檔,並解壓縮。
上傳「simple-sintax-highlighting」資料夾到「wp-content/plugins」資料夾。
透過 WordPress 儀表板的「外掛程式」選單啟用外掛程式。
開啟選單:設定 > Simple Syntax Highlighting 以進行設定。
螢幕截圖
外掛程式設定
編輯器
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Simple Syntax Highlighting (SSH), simple, clean and lighweight plugin to integrate highlight.js into WordPress. highlightjs has automatic language detection an turn on syntax highlighting. You just need to select text than press button
code> pre> format.
Credit:
Highlight.js – https://highlightjs.org
Line numbering plugin: https://github.com/wcoder/highlightjs-line-numbers.js
Supports highlighting
Java
C
HTML
CSS
PHP
and more, up to 176 language, see: https://highlightjs.org/static/demo/
Instalation
Download plugin Simple Syntax Highlighting archive, than unzip it.
Upload the “simple-sintax-highlighting” folder to the “wp-content/plugins” directory.
Activate the plugin through “plugins” menu in WordPress dashboard.
Open menu: Setting > Simple Syntax Highlighting to configure.
Screenshoot
Plugin Settings
Editor
延伸相關外掛
