Code Snippet

A block of pre-formatted text, containing computer code.

Copy: View demo


All components are built upon the CodyHouse Framework.

This component includes variations. All variations share the same SCSS/JS code. They only differ in the HTML part.

How to

The Code Snippet component is a pre-formatted text element displaying a fragment of computer code.

The component does not include syntax highlighting but can be easily integrated with a plugin. Two great options are:

Bug Report & Feedback

Get in touch: suggest a component or report a bug.

💌 Join our newsletter

Get our monthly recap with the latest CodyHouse news