You can embed source code examples using the code: demarcation.
<?xml version="1.0"?>
<some-element-here attrib="yes">
<child-element-indented/>
</some-element-ends>
<foo/>
Here we use the "preserve-space" option of the slop parser to preserve indentation.
Currently, code cannot contain blank lines, it would be better to use an "endcode:"
marker for the end:
public class SomeJavaClass {
// the whole thing up to closing } should be in one block
// this follows a blank line }