prep consists of about ridiculous 180 lines of code, that do a
simple job pretty well.
there are hundreds of ways to manage HTML document trees, this
is yet another. this is how it works:
just write your text in your desired output format, typically
HTML, and intersperse prep commands as needed. there are 3 types
of prep commands.
multiple arguments
both # and ((())) commands may have more than one argument. arguments are
seperated in an unusual way: a comma followed and preceded by
an empty space, like this:
#<command> <arg1> , <arg2> ...
This permits you to make a sentence containing a comma a normal argument, as
in this example:
#box http://mp3.pages.de , Funk, Soul, Phorever
The box function may then produce something like this:
Funk, Soul, Phorever
|
|
---|
|
---|
as an often recurring stylistic item of your website.
this is how the rounded boxes on
www.zeit.de
were done, by the way.
perlists info
More detailed information on how to write prep extensions
is in the prep for developers document.