[Pmwiki-users] Line breaks again
J. Perkins
jason
Mon Sep 1 06:47:36 CDT 2003
Patrick R. Michaud wrote:
> Highlighting a *single* _word_ is probably okay.
>
> The formula 8 * 3 + 75 * 14 is probably not meant to have "3 + 75"
> in bold face.
Write it as [=8 * 3 + 75 * 14=] then. But I do understand your point.
> Some lines contain references to filenames_with_underscores.doc, where
> the _ ... _ isn't meant to be italics. Also, if you make references to
> functions and variables such as E_ERROR and O_TRUNC then the underscores
> should be interpreted as italicizing "ERROR and O".
All of these cases involve source code and math embedded in a wiki page.
In my mind these are special cases, the emphasis should be on writing
*text*. Primarily because people who are messing around with source code
(or designing forms with blank fields) can probably handle the [= =]
syntax. But again, we're talking about an arbitrary line in the sand
here, and I understand your point.
Thanks for the regex expressions for handling these cases, I am terribly
at regexes. I will give them a try and see what problems I run into. I
am still very interested in your opinions on the (newline != new line)
issue.
And as always, thanks for this excellent product.
Jason
379
More information about the pmwiki-users
mailing list