On 10 Jan, Emiliano Heyns wrote:
> &(varname:u);
>   mark up varname as URL. If $varname =
> "http://www.midgard-project.org/" then &(varname:u);
>   would expand to <a
> href="http://www.midgard-project.org/">http://www.midgard-project.org/</a>

Actually, the :u formatting means that the variable
will be printed in URL-encoded format. This means
that "Network Security R&D" becomes "Network%20Security%20R%26D"
(just an example from page I was working on). This
is useful for passing text strings as GET or Midgard
Active page arguments.

> &(varname:f);
>   mark up formatted text. Empty lines will be replaced with <P> will
> automatically, and you
>   can include HTML markup in [<...>] delimiters (anything between those
> will be passed unchanged
>   with the [< and >] removed. It does a great lot more but for the life
> of me I can't find
>   the markup parser.

There is also :F which makes all paragraphs shorter than 10
words without period a H2-level headline and lines beginning
with a dash into unnumbered listings.

My experience is that almost all of Web content will fit
nicely in these rules, especially as you can embed HTML
code into it as needed.

> Emile

/Bergie

-- 
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
               http://www.iki.fi/Henri.Bergius


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to