前言介紹
- 這款 WordPress 外掛「Melonpan Block – Code」是 2019-08-01 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2021-03-02,距離現在已有 1523 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.5 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.1 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
melonpan |
外掛標籤
code | block | prism | block-editor | syntax highlighting |
內容簡介
Demo – Documentation – GitHub
此外掛可顯示程式碼,並帶有突顯語法及可複製到剪貼簿的功能。
特色
此外掛帶有以下設定:
程式碼語言: JavaScript、CSS、PHP 等等。完整語言列表。
配色主題
標籤: 可自訂左上角的標籤預設為程式碼語言。
複製按鈕: 右上角按鈕,可複製區塊內容。
填充
邊框寬度與邊框圓角
使用方式
此外掛可於區塊插入器底下的「Melonpan Blocks」類別中找到。
在文章中加入後,您可以在編輯器旁邊的區塊設定面板中編輯其設定。
在預覽器和編輯器之間切換,以編輯程式碼並查看其樣式化輸出。
原文外掛簡介
Demo – Documentation – GitHub
Block to display code, with highlighted syntax, which can be copied to the clipboard.
Features
The block comes with the following settings:
Code language: JavaScript, CSS, PHP, etc. Full list of languages.
Color theme
Label: Top left label that can be customized. By default the code language.
Copy button: Top right button to copy the block content.
Padding
Border width and Border radius
Usage
The block can be found inside the blocks inserter menu under the Melonpan Blocks category.
Once added in the post you can edit its settings on the Editor sidebar under the Block settings panel.
Switch between the previewer and editor views to edit the code and see its styled output.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Melonpan Block – Code」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.1.0 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | trunk |
延伸相關外掛(你可能也想知道)
Classic Editor 》Classic Editor 是由 WordPress 團隊維護的官方外掛程式,可還原之前(也就是「經典」)的 WordPress 編輯器和「編輯文章」畫面,使使用者可以使用延伸這個畫...。
Advanced Editor Tools 》高級編輯工具(以前稱為 TinyMCE Advanced)引入了一個「經典段落」區塊,供區塊編輯器(Gutenberg)使用。, 如果您還沒有準備好切換到區塊編輯器,或者有插...。
Starter Templates – AI-Powered Templates for Elementor & Gutenberg 》免費模板,支援 Elementor、Beaver Builder 和 Block Editor, 使用 Starter Templates 外掛,只需數分鐘即可建立專業且完美的網站。此外掛為使用者提供超過 2...。
Disable Gutenberg 》此外掛可禁用新的 Gutenberg 編輯器 (也稱為區塊編輯器),並以經典編輯器取代它。你可以完全禁用 Gutenberg,或從文章、頁面、角色、文章類型和主題模板中有...。
Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates 》使用 Essential Blocks for Gutenberg,即可實現您的創意視覺效果,這是適用於 WordPress 的最終區塊庫!, 使用我們易於使用的區塊,增強您使用 Gutenberg 的...。
Blocks Animation: CSS Animations for Gutenberg Blocks 》Blocks Animation 可以讓您以優雅的方式,為所有的 Gutenberg 區塊添加 CSS 動畫。, Blocks Animation 的用戶介面非常原生且直觀,您甚至不會注意到它已經被...。
Ultimate Blocks – WordPress Blocks Plugin 》k, HowTo Schema Block lets you create step-by-step instructions with images and video, perfect for tutorials and guides. It is also Schema Markup e...。
Gutenberg Blocks – PublishPress Blocks Gutenberg Editor Plugin 》PublishPress Blocks 提供您在 WordPress 區塊編輯器中建立專業網站所需的所有功能,其中包括佈局選項、輪播、按鈕、圖示、圖片庫、地圖、選項卡、推薦、手風...。
Lightbox for Gallery & Image Block 》這個 WordPress 外掛為標準 WordPress 圖庫及圖像區塊新增了一個簡單輕量的 Lightbox,它可以偵測文章是否包含圖庫或圖像區塊,然後載入並啟動 baguetteBox.j...。
GutenKit – Page Builder Blocks, Patterns, and Templates for Gutenberg Block Editor 》總結:GutenKit for Gutenberg 是一個在 WordPress 區塊編輯器中提供輕鬆網頁建置體驗的終極解決方案,讓您無需編碼技能就能設計令人驚艷的專業網頁內容。, ,...。
PDF viewer for Elementor & Gutenberg 》「PDFjs Viewer for Elementor」外掛是一個強大的工具,可輕鬆將 PDF 檔案嵌入到您的 Elementor 頁面建構器頁面中。它專為 Elementor 設計,因此您可以輕鬆在...。
No Gutenberg – Disable Gutenberg Blocks Editor and FSE Global Styles 》WordPress 5.x 內建了一個名為 Gutenberg 的新區塊編輯器。隨著 5.9 版本的推出,全站編輯(Full Site Editing,FSE)的全局樣式被加入,每個頁面都會載入大...。
Genesis Custom Blocks 》Genesis Custom Blocks 為 WordPress 開發人員提供了必要的工具,以應對現代 WordPress 「區塊先行」的實境。, WordPress 區塊編輯器(又稱 Gutenberg)為我...。
Classic Editor and Classic Widgets 》這個免費的 Classic Editor & Classic Widgets 外掛可幫助您輕鬆地完全停用 Gutenberg 編輯器,並啟用 Classic Editor 和 Classic Widgets。, Classic Ed...。
BlockArt Blocks – Gutenberg Blocks, Page Builder Blocks ,WordPress Block Plugin, Sections & Template Library 》BlockArt Gutenberg Blocks – 最佳 WordPress Gutenberg 外掛程式之一, 擁有強大功能的 BlockArt 提供了無縫的網站建立體驗。它提供了六種獨特且響應式的區塊...。