Open topic with navigation
Creating Code Snippets
Code Snippets make formatting easier for material you use regularly and want to appear the same way every time.
- Start with a blank rich text area and add the text and formatting that you would like.
- Once you have a section of text formatted the way you would like, you can highlight it and select Save Selection as Snippet.
- You can even use the HTML editor to help you format content before saving it as a code snippet.[ Depending on which WYSIWYG editor you are using you can access the HTML for the page either by clicking the HTML Tab at the bottom or if you have no Tab, click “Source” in the tool bar.
- The system will prompt you to name your code snippet. Pick a meaningful name that will help others who might use the snippet know what it is.
- The next time you want to use the material it will appear in the drop-down menu for Insert Code Snippet.
- Right-click on the menu arrow and select the snippet you would like to use. (Note: if you simply click the Insert Code Snippet button it will automatically insert the last code snippet used.)
If your formatting is particularly complicated, your developer can also add code snippets for you.