內容簡介
這個外掛為 WordPress CKEditor 提供額外的程式碼按鈕,讓您可以使用 syntaxhighlighter。
CKEditor For WordPress 外掛會將預設的 WordPress 編輯器替換為 CKEditor,而 Auto SyntaxHighlighter 外掛會將 alexgorbatchev 的 SyntaxHighlighter JavaScript 套件整合至 WordPress,但未提供 CKEditor 的程式碼按鈕功能。這就是我建立此外掛的原因。
如果您選擇不安裝 Auto SyntaxHighlighter 外掛,則您的程式碼將僅被包裹在 pre 標籤中。
Auto SyntaxHighlighter 並不是唯一的選擇,在 WordPress 中有許多外掛整合 Alex Gorbatchev’s SyntaxHighlighter,請隨意使用。
注意:如果您在升級後遇到任何問題,請清除您的瀏覽器快取。
外掛標籤
開發者團隊
② 後台搜尋「SyntaxHighlighter CKEditor Button」→ 直接安裝(推薦)
原文外掛簡介
This plugin provides an additional code button for WordPress CKEditor so that you can use syntaxhighlighter with CKEditor.
CKEditor For WordPress plugin replaces the default WordPress editor with CKEditor, while Auto SyntaxHighlighter plugin intergrates alexgorbatchev SyntaxHighlighter JavaScript package into WordPress but doesn’t provide a code button for CKEditor. This is why I created the plugin.
If you opt not to install Auto SyntaxHighlighter plugin, then your code will simply be wrapped with pre tag.
Auto SyntaxHighlighter is not the only choice, there are plenty of plugins out there that integrate Alex Gorbatchev’s SyntaxHighlighter into WordPress, choose as you like.
Note: If you encounter any problem after upgrading please clear your browser’s cache.
