Zim

Comment 28 for bug 380844

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 380844] Re: Link to anchors within pages

On Sat, Jul 2, 2011 at 4:24 PM, Oliver Joos <email address hidden>wrote:

> I re-checked all my texts in Zim and Moin (with grep ;-). Perhaps #anchor#
> would still be a nice variant, but without white-space or newlines between.
> This would be easy to write/read, and seems very uncommon in normal texts or
> even source code. An inline anchor definition would then be:
> [asciichar<=32] '#' [asciichars>32] '#' [asciichar<=32]
> (I know, Zim is utf8 - with ascii it's just simpler here)
>

I would prefer something along the lines of "{{#name}}" if you feel "#name"
gives to much conflicts. Think of anchors as a kind of empty object. (Plus
we may need "##" markup for other features later on.)

Btw. even if wiki text is "{{#name}}" we could still make the pageview
automatically turn "#name" into an anchor when typed (user can hit ^Z if
they intended something else).

-- Jaap