Ticket #676 (closed enhancement: wontfix)
"#story:StoryName" paramifier should scan for embedded links
| Reported by: | EricShulman | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.5.1 |
| Component: | core | Version: | |
| Severity: | low | Keywords: | |
| Cc: |
Description
rather than using parseParams() to process tiddler content as a space-separated list, use internal tiddler.links information to scan for embedded links. This allows *any* tiddler to be used as a story, regardless of other wiki-syntax contained in the tiddler. If the specified tiddler is a shadow, then fallback to using parseParams() to extract link list from shadow content.
config.paramifiers.story = {
onstart: function(v) {
var t=store.getTiddler(v); if (t) t.changed();
var list=t?t.links:store.getTiddlerText(v,"").parseParams("open",null,false);
story.displayTiddlers(null,list);
}
};
This change has been successfully implemented on TiddlyTools. see http://www.TiddlyTools.com/#CoreTweaks
Change History
Note: See
TracTickets for help on using
tickets.
