Code Examples

Code Examples

Scroll converts the {code} macro into DocBook examples.

\{code}System.out.println("Hello, World!");\{code}

is converted to:

System.out.println("Hello, World!");

Additional notes:

  • Scroll does support examples with and without titles.

DocBook Reference:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. May 13, 2009

    Tobias Anstett (K15t Software) says:

    Maybe we should clarify here that a title will lead to a formal code example.

    Maybe we should clarify here that a title will lead to a formal code example.

Add Comment