Code snippets can be displayed on any chapter page by using the "Code" option from the style dropdown. To add new lines to the same block of code, hold down Shift while pressing enter to do a soft line break. Currently, displaying HTML (or any language that uses brackets < >) is not fully supported.