<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Works perfectly, thanks.<br>
<br>
Patrick R. Michaud wrote:
<blockquote cite="mid20050714231607.GA18242@host.pmichaud.com"
type="cite">
<pre wrap="">On Thu, Jul 14, 2005 at 06:45:07PM -0400, DaveG wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">I've created a style "source" which I included in my CSS file, and
reference in the wiki with %source%. However what I always write after
that is the word "Source: ", thus:
"%source%Source: "
This results in a correctly formatted paragraph.
It seems like there should be a way to have a single
tag/markup/directive (not clear which, or if any) that does the
styling for the paragraph, as well as adds the text. I'm not stuck to
the CSS approach. Suggestions would be appreciated.
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
How general do you need it to be? If you only need this specific
case or just a few like it, how about following...?
Markup('^Source:', 'directives',
'/^Source:/',
'%p source%Source:');
This causes any line beginning with "Source:" to automatically
have the %source% wikistyle prepended.
Pm
</pre>
</blockquote>
<br>
</body>
</html>