# Code macro The code macro enables you to embed code snippets within your document, offering various customization options such as different themes and syntax highlighting. It also supports displaying line numbers alongside the code, enhancing readability and reference. Additionally, it provides an easy and convenient way for users to copy the code directly from the embedded block. --- ### [#](#screenshot)Screenshot ![Capable Code macro](https://help.gocapable.com/images/f46e0ee6-d3b8-4245-b93b-e36244e6c710.webp) --- ### [#](#configuration)Configuration ![Capable code macro editor](https://help.gocapable.com/images/b2c2c935-a010-448a-a074-0dff070338fa.webp)