Code Snippet element will help you display code blocks within styled code container. Element popup contains following options;
Code tab
- Code snippet - Insert your code snippet.
Layout tab
- Style - Select code snippet style.
- Container margin - Adjust .thz-code-snippet container margin.
- Limit height - Limit code snippet height and make its content scrollable.
- Syntax highlighting - Activate/deactivate syntax highlighting.
- Line numbers - Show hide code line numbers.
- Container metrics - Add custom class or ID to HTML container and adjust visibility on specific devices.