內容簡介
此外掛將在 WordPress 編輯器面板的視覺化和 HTML 模式下添加一個按鈕,讓您輕鬆地插入 WP-Syntax 的程式碼。 WP-Syntax 是一個可從 https://wordpress.org/extend/plugins/wp-syntax/ 下載的 WordPress 語法突顯外掛。
使用方法
選擇您要使用 WP-Syntax 突顯的文字
在 HTML 編輯模式中點擊 pre (WP-Syntax) 按鈕,或在視覺化編輯模式中點擊帶有彩色線條的圖標
輸入語言和起始行(後者是可選的)以逗號分隔
外掛標籤
開發者團隊
② 後台搜尋「WP-Syntax Editor Integration Plugin」→ 直接安裝(推薦)
原文外掛簡介
This plugin will add a button to both the visual and HTML WordPress Editor panel allowing you to easily insert code for WP-Syntax. WP-Syntax is a syntax highlighting plugin for WordPress which can be downloaded from https://wordpress.org/extend/plugins/wp-syntax/
Usage
Select the text you want to have highlighted by WP-Syntax
Click the button pre (WP-Syntax) in HTML editing mode or the icon with colored lines in visual editing mode
Enter the language and starting line separated by a comma. The later is optional.
