A WordPress Gutenberg block to add colorful code snippets to your website.
Add syntax highlighting to your code snippets with Code Snippets. Add your snippet to the input area and then select the language with which you'd like the snippet to be highlighted. You can also choose to display the snippet with a console by adding a Windows or Mac style toolbar.
Below you will find some information on how to run scripts.
You can find the most recent version of this guide here.
- Use to compile and run the block in development mode.
- Watches for any changes and reports back any errors in your code.
- Use to build production code for your block inside
dist
folder. - Runs once and reports back the gzip file sizes of the produced code.
- Use to eject your plugin out of
create-guten-block
. - Provides all the configurations so you can customize the project as you want.
- It's a one-way street,
eject
and you have to maintain everything yourself. - You don't normally have to
eject
a project because by ejecting you lose the connection withcreate-guten-block
and from there onwards you have to update and maintain all the dependencies on your own.
This project was bootstrapped with Create Guten Block.