Ticket #784 (new enhancement)

Opened 5 years ago

Last modified 2 years ago

Allow tiddler sections in TiddlyLinks as anchor points for intra-tiddler scrolling

Reported by: EricShulman Owned by: EricShulman
Priority: minor Milestone: 2.7.1
Component: core Version:
Severity: low Keywords:
Cc:

Description (last modified by EricShulman) (diff)

As discussed here:  http://groups.google.com/group/TiddlyWiki/browse_frm/thread/d9afc55b532d9f49#

Currently, you can use the tiddler section syntax from the <<tiddler>> macro:

<<tiddler SomeTiddler##SomeSection>>

However, when the same section reference syntax is used in a TiddlyLink?:

[[SomeTiddler##SomeSection]]

the entire reference is treated as a tiddler name.

At the very least, the TiddlyLink? should ignore the trailing "##..." syntax so that a valid link to the existing tiddler is created.

Ideally, however, the section syntax in the TiddlyLink? should be recognized and used to open the tiddler and then auto-scroll to the indicated section heading (i.e., the same behavior as <a name="foo"> and <a href="#foo">...</a> HTML syntax)

Change History

Changed 5 years ago by EricShulman

  • priority changed from undefined to minor
  • type changed from defect to enhancement
  • description modified (diff)
  • severity changed from undefined to low

Changed 5 years ago by EricShulman

This feature has been successfully implemented as a TiddlyTools CoreTweak?:

 http://www.TiddlyTools.com/#CoreTweaks

Changed 5 years ago by JeremyRuston

  • milestone set to 2.6

Changed 4 years ago by MartinBudden

  • owner changed from JeremyRuston to EricShulman

Changed 3 years ago by MartinBudden

  • milestone changed from 2.6.2 to 2.7.1

Milestone 2.6.2 deleted

Changed 2 years ago by cdent

two year old patch but still not implemented?

Note: See TracTickets for help on using tickets.