[pmwiki-users] Prevent line break, anchors, ...
John Rankin
john.rankin at affinity.co.nz
Thu Sep 22 17:24:32 CDT 2005
On Friday, 23 September 2005 3:16 AM, Robert Riebisch <rr at bttr-software.de> wrote:
>Hello!
>
>It's me again. ;-)
>
>1. At http://wiki.bttr-software.de/Articles/RenameBug I formatted "INT
>21h/AH=56h" monospaced, but not the parenthesis surrounding. Now my IE
>does a line break after the first parenthesis. How can I prevent that?
>(Like <nobr> in plain HTML.)
Several possibilities:
- the obvious is to include the brackets, but I assume you don't want
to do that
- use a different browser (it's fine in Safari)
- if you have the markup extensions, you could try inserting non-breaking
spaces with (` @@...@@` )
- create a new markup for nobreak, such as '[(@@...@@)]' with the following
code (ie '[ ... ]' wraps text in <nobr> tags -- there may be a better
choice of markup)
Markup("'[",'inline', "/'\[(.*?)\]'/",'<nobr>$1</nobr>');
- try the thin space   entity
>
>2. I created a link to a named anchor by "[[RenameBug#L1 | Listing 1]]".
>Does there exist a "variable" or "special char" for the current page?
>When using "~" it creates a link to
>"http://wiki.bttr-software.de/$Group/$Name#L1". Why is this not replaced
>by the current group and name?
You should be able to write just [[#anchor | text]].
The PageTableOfContents recipe adds other options, such as [[#anchor | *]]
which behaves like [[#anchor | anchor]]
>
>Robert Riebisch
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list