Aurelio Jargas wrote

> Another alternative to avoid funky URLs is to save them in an "URL bank"
> made by series of postprocs. Example:
>
>     %!postproc: URL01  http://example.com/foo
>     %!postproc: URL02  http://example.com/bar
>     %!postproc: URL03  http://example.com/baz
>     ...
>
> And in the text body, you make links using those names instead of URLs:
>
>     - [My homepage URL01]
>     - [Work stuff URL02]
>     - [Weekend pictures URL03]
>     - ...
>
> A similar technique is used in the txt2tags website, on the Children page.
> The sources are here:
>
> http://txt2tags.org/children.t2t


    Thank you!

    The line
%!preproc: '^ \| ((SOFT|TECH|HOME|MISC)..)$' ' |  \1_SRC  | [\1_TXT
\1_URL] |  \1_LNG '
    in http://txt2tags.org/children.t2t

    is really clever

Richard H


------------------------------------------------------------------------------
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list

Reply via email to