
內容簡介
這個外掛讓您可以在內容中添加片段區塊:JavaScript、CSS、HTML 等等。
用途
透過新的 Gutenberg 編輯器在 WordPress 內容中添加片段區塊。
使用方法
在您的內容中新增片段區塊 (Snippet block)
插入您的程式碼
選擇語言
儲存文章並檢查前端顯示效果
支援的語言
Apache
Bash
C#
C++
CSS
Erlang
Go
HTML
XML
Handlebars
JSON
Java
JavaScript
Markdown
Objective C
PHP
Python
R
Ruby
Rust
SCSS
SQL
Shell
Twig
TypeScript
建議來源
基於 Making WordPress Do More Block Starter Kit
原始的 webpack 設定檔 (修改前) 取自Zac Gordon’s Gutenberg Course
原始的發布腳本 (修改前) 取自Garry Jones
Webpack HMR 感謝Christian Glingener
需求
需要啟用 Gutenberg 編輯器
已知問題
目前並無已知問題。
開發路線
允許多種主題。
外掛標籤
開發者團隊
原文外掛簡介
Allows to add snippets blocks to your content: Javascript, CSS, HTML…
Purpose
Add snippet blocks to your WordPress content using the new Gutenberg editor
How to use it
Add a Snippet block within your content
Include your code
Select the language
Save the post and check your front-end
Supported languages
Apache
Bash
C#
C++
CSS
Erlang
Go
HTML
XML
Handlebars
JSON
Java
JavaScript
Markdown
Objective C
PHP
Python
R
Ruby
Rust
SCSS
SQL
Shell
Twig
TypeScript
Credits
Based in Making WordPress Do More Block Starter Kit
Original webpack configuration (before modifications) from Zac Gordon\’s Gutenberg Course.
Original deploy script (before modifications) from Garry Jones.
Webpack HMR thanks to Christian Glingener
Requirements
Gutenberg activated
Known Issues
There are no known issues at this time.
Roadmap
Allow several themes
