Snippets Block (snippets-block) free WordPress plugin

Free Plugin21 websites
Snippets Block (snippets-block) free WordPress plugin by Luis Sacristán

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

Author: Luis Sacristán

Plugin folder: snippets-block

Tags: blocks, gutenberg, highlight.js, snippets



image.pngimage.pngimage.png