<codeblock> element represents lines of program code. Like the
<pre> element, line endings and spaces inside the
element are preserved, and the content is typically
rendered in a monospaced font. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
See appendix for information about this element in OASIS document type shells.
+ topic/pre pr-d/codeblock
<codeblock> /* a long sample program */ Do forever Say "Hello, World" End </codeblock>
Return to main page.
Standards Track Work Product
|Copyright © OASIS Open 2015. All Rights Reserved.||17 December 2015|