Check: HTML validity, CSS validity, links.
Next: Import filters can be added Previous: Title shortcuts TOC |
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);
# |
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:
Start / Lightning Talks / Jochen Stenzel |