
內容簡介
由於 Elementor 現已擁有自己的語法突出顯示小工具,因此此外掛已不再維護。
這個 Elementor 小工具可讓你在內容中加入語法突出顯示的程式碼片段。
語法突出顯示器是使用 PrismJS 實現的。
若要使用,請從 Elementor 側邊欄的「基本」部分拖動「突出顯示的代碼」小工具到您的文章中。然後選擇您要使用的語言,並在側邊欄填寫代碼。您將在主內容面板中看到預覽。
外掛標籤
開發者團隊
② 後台搜尋「Elementor Syntax Highlighter」→ 直接安裝(推薦)
原文外掛簡介
THIS PLUGIN IS NO LONGER MAINTAINED, SINCE ELEMENTOR NOW HAS A SYNTAX HIGHLIGHT WIDGET OF ITS OWN.
This Elementor widget allows you to add syntax highlighted code snippets to your content.
The syntax highlighter is implemented using PrismJS.
To use drag the “Highlighted Code” widget from the “Basic” section of the Elementor sidebar onto you post. Then select the language you will be using and fill in the code in the sidebar. You’ll see a preview of what things will look like in the main content panel.
