About using codeblock elements

You use the <codeblock>element to display one or more lines of programming code.

The codeblock element is typically used within a Concept Information Type. When inserting an example of programming code, nest the codeblock element within a section element of a conbody, as shown below.

<codeblock> element

                <recipe>
  <title>Scrambled Eggs</title>
<ingredient>;Ingredients</ingredient>
      <ingredient_list>
        <list_item>5 eggs</list_item>
        <list_item>1/2 cup milk</list_item>
        <list_item>1 Tbsp butter</list_item>
      </ingredient_list>
      <instructions>Melt butter.......
      </instructions>
</recipe>