-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
another example is a checkbox widget that has [x] syntax
That is something that I have wanted to have for a long time, and would certainly be worth thinking about again.
On the surface it is fairly straightforward: modify the parser to record the source tiddler and offset of every widget. However, one aspect that is tricky is that the parser parses text strings, not tiddlers. By the time the parser is invoked there is no link between the source tiddler and the corresponding widget.
So, I think we might have to introduce a new interface to the parser that accepts a tiddler title rather than a text string, and thus can fill in the link between widgets and the corresponding offset within the source tiddler. We would then have to go through all the invocations of the parser and where necessary refactor them to use the new interface.
Originally posted by @Jermolene in #9112