
內容簡介
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
外掛標籤
開發者團隊
原文外掛簡介
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
