Code Snippet

Code Snippet element will let you display code blocks within styled code container

Code Snippet element will help you display code blocks within styled code container. Element popup contains following options;

Code tab

  1. Code snippet  -  Insert your code snippet.

Layout tab

  1. Style  -  Select code snippet style.
  2. Container margin  -  Adjust .thz-code-snippet container margin.
  3. Limit height  -  Limit code snippet height and make its content scrollable.
  4. Syntax highlighting  -  Activate/deactivate syntax highlighting.
  5. Line numbers  -  Show hide code line numbers.
  6. Container metrics  -  Add custom class or ID to HTML container and adjust visibility on specific devices.