Author: cd@conference.org
Description: PerlPointCD Demo

Check: HTML validity, CSS validity, links.

Start / Lightning Talks / Jochen Stenzel Next: Import filters can be added Previous: Title shortcuts TOC

# Highlight examples

Mostly for examples, it can be of interest that it is easy to highlight Perl comments in a paragraph. (Of course this applies to all languages using `#` to mark comments.) Just add `||co||` to the paragraph.

      ||co||  # call function
        $rc=function($arg);

This becomes

      # call function
      $rc=function($arg);

This is called a PerlPoint paragraph filter. Please note that the paragraph itself (after the filter prefix) should begin as usual - the example paragraph needs to start with whitespaces, still.

Several filters can be chained:

      ||co|c|| # call function
        $rc=function($arg);

        # c is another predeclared filter.

Paragraph filters are Perl functions. The implementation of `co()` is really straight forward, so it does not work in every case, but mostly. But it can relieve an author from many keystrokes and keeps the examples actually unchanged, so it is worth to try it out.

Index-related:

- Center paragraphs
- Directory order
- Index

Next: Import filters can be added Previous: Title shortcuts TOC Start / Lightning Talks / Jochen Stenzel