[WordPress] 外掛分享: Code Snippets in Comments

首頁外掛目錄 › Code Snippets in Comments
WordPress 外掛 Code Snippets in Comments 的封面圖片
全新外掛
安裝啟用
尚無評分
2127 天前
最後更新
問題解決
WordPress 5.0+ PHP 5.6.20+ v0.9 上架:2020-05-21

內容簡介

Code Snippets in Comments外掛可以擴展Comments功能,可不更改在資料庫中儲存的留言內容,而在該內容顯示程式碼的時候進行突顯。

預設情況下,Code Snippets in Comments外掛使用Prism JavaScript Library作為程式碼突顯的器件,這個套件具有快速、輕量的特點。

Code Snippets in Comments外掛也可支持兩個著名的外掛,Prismatic和Code Syntax Block,自動設置這兩種外掛作為程式碼突顯器件。

建議只使用其中一個程式碼突顯外掛。

還有一個功能是,Code Snippets in Comments外掛會在留言區的下方新增一個程式碼輸入欄,可讓來訪者更輕鬆地輸入他們的程式碼。

主要開發和問題追蹤請到Github上進行:https://github.com/a2d8a4v/Code-Snippets-in-Comments

外掛標籤

開發者團隊

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

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

原文外掛簡介

Code Snippets in Comments plugin extends the Comments function by show code in highlighting without modifying the saving of comments in database.
By default Code Snippets in Comments plugin using Prism JavaScript Library as the code highlighter for its fast and light property.
Code Snippets in Comments plugin also support with two famous plugins, Prismatic and Code Syntax Block, automatically set the code highlighter with these two plugin setting.
And I suggest just using one of these code highlighter plugin.
One more function is that Code Snippets in Comments plugin add a new code input bar below comment textarea box, let visitor type their code with problem more easier.
Primary development and issues tracked on Github at: https://github.com/a2d8a4v/Code-Snippets-in-Comments

延伸相關外掛

文章
Filter
Mastodon