Code – advanced-gutenberg-blocks/code
Syntax highlighting with custom themes for every languages.
Use the Code block to display syntax highlighted code.
Screenshot
Example
HTML
PHP
Notes
- Supports many languages including: HTML, CSS, PHP, JS, JSX, SASS, plain text.
- Code can be loaded from an external file.
- There are toggles to Auto wrap long lines, and Show line numbers.
- You can set the Start line number.
- Optionally highlight a range of lines.