Link Differentiation · 23 August 2002

Like Mark Pilgrim I was impressed by Rebecca Blood’s clever decision to differentiate outgoing and internal links with colour using CSS.

Mark posted a MT macro that takes care of this automatically in Perl. Here’s a PHP function that does the same. All that’s needed is:

The function:


Example usage:


*   *   *