
Snippets Block
v1.3.0Luis Sacristán · 2019年4月4日 上架
Allows to add snippets blocks to your content: Javascript, CSS, HTML...
- 正在使用
- 100+
- 评分
- 5.0 / 5
- 累计下载
- 5,034
- 最近更新
- 2019年4月30日
3 条评价需要 WordPress 5.0+已测试到 5.2.31
贡献者
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