
內容簡介
代碼語法區塊(Code Syntax Block)擴充了 WordPress 區塊編輯器,使用 Prism 語法高亮工具為核心代碼區塊添加了語法高亮支持。
Prism 語法高亮工具在前端執行 JavaScript,解析代碼區塊並應用語法標記。一個 CSS 文件指定應用於該標記的顏色和樣式。請參閱Prism 語法高亮工具以獲取完整詳細信息。
主要開發和問題追踪在 Github 上進行:https://github.com/mkaz/code-syntax-block
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Code Syntax Block extends the WordPress block editor by adding syntax highlighting support to the core code block using the Prism syntax highlighter.
The Prism syntax highlighter runs JavaScript loaded on the front-end to parse code blocks and apply syntax markup. A CSS file specifies the color and style to apply to that markup. See Prism syntax highlighter for full details.
Primary development and issues tracked on Github at: https://github.com/mkaz/code-syntax-block
