1) Widgets would not have to use field parameters if the tiddler parameter is always a textreference.
2) If the ## syntax is not used for indices then it could instead be used in textreferences for links internal in the tiddler, to harmonize with the recent discovery that ## can be used for such tiddler-internal links.
I think this means that any part of a tiddler could be designed to be addressable. Even in the url.
<:-)--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/72b6bad6-813d-4c1d-92c8-fa697053df13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
We try to use text references in shortcut syntaxes but now prefer separate title/field/index attributes for widgets.
The ## used for data tiddler indices is only valid within a text reference. Otherwise it would clash with the use of # for numbered lists.
I think this means that any part of a tiddler could be designed to be addressable. Even in the url.Ah, are you suggesting that {{HelloThere##mylink}} should return the text of the anchor labelled “mylink”? The problem with that is that you probably don’t want the text of the anchor (because there often won’t be any), you’ll probably want the text from the link up to some landmark (e.g. the next heading). That kind of thing is far too complex to be a low level primitive.
We try to use text references in shortcut syntaxes but now prefer separate title/field/index attributes for widgets.Is this a real preference or a compromise? Are separate attributes better than to have one textreference?
We do, after all, use the compact textreference format sometimes in current TW.
The point with my proposal was to avoid unnecessary parameters when possible. I also think there is a nice aesthetic, and an opportunity, to treat textreferences as a gradually more fine grained address. A kind of name space.
The ## used for data tiddler indices is only valid within a text reference. Otherwise it would clash with the use of # for numbered lists.So, both the fact that browsers apparently force us to use ##, at least atm,
and that TWX ought to feature hashtagging speaks for coming up with something else for numbered lists.
I think this means that any part of a tiddler could be designed to be addressable. Even in the url.Ah, are you suggesting that {{HelloThere##mylink}} should return the text of the anchor labelled “mylink”? The problem with that is that you probably don’t want the text of the anchor (because there often won’t be any), you’ll probably want the text from the link up to some landmark (e.g. the next heading). That kind of thing is far too complex to be a low level primitive.But, we're already doing that with tiddlers (by providing the title), and fields and indices - ???
Why could we not (hypothetically) do it with segments marked out by arbitrarily placed markers? It would be a kind of encapsulation. Other than to use it as an address for navigation, it could be used for styling (I guess, basically converting it to div tags). A more tiddleresque idea is to use it for "auto-excision"to automatically split out such segments that evidently deserve to be separate tiddlers.
(Side note: I read somewhere that browsers will soon introduce something so that you can give an url to a specific point on a webpage.)
<:-)--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/37c39f26-48c4-41c5-981a-56b07944a8bd%40googlegroups.com.
(Side note: I read somewhere that browsers will soon introduce something so that you can give an url to a specific point on a webpage.)Every anchor already has a URL. I believe the new proposal is for addressing DOM elements that don’t have an anchor.
On 13 Jun 2019, at 21:12, Mat <matia...@gmail.com> wrote:(Side note: I read somewhere that browsers will soon introduce something so that you can give an url to a specific point on a webpage.)Every anchor already has a URL. I believe the new proposal is for addressing DOM elements that don’t have an anchor.Without parsing? Might this then be the very thing that would enable what I'm talking about? A thing that does identify the run of a text and is on a low enough level?
Thank you for your replies. Interesting matters.<:-)
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/1fbf7506-a3a7-486a-97ab-499decc645fb%40googlegroups.com.