How to add code snippets
Wes Byrne avatar
Written by Wes Byrne
Updated over a week ago

If your library contains content that is intended to be used in digital products, code snippets can be used to show others how to use it.

Simply drag the code item from the insert panel into the gallery then add your code.

After you type or paste in your code, you can optionally select a code language. While the automatic syntax highlighting works well for most code, manually selecting a language can be helpful to let others know what language the snippet is written in.

Did this answer your question?