you can see how the tree is parsed in the markdown plug - a nearly 
identical tree is produced by the markdown lib and is then converted to a 
tw tree

https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/markdown/wrapper.js

all the best

BJ

On Friday, June 7, 2019 at 4:58:52 PM UTC+2, Milind wrote:
>
> Thank you very much for the reply. I don't want to follow tiddler 
> transclusions for now, just want to keep it simple to learn more. How do I 
> access the parse-tree?
>
> On Friday, 7 June 2019 01:17:12 UTC-7, PMario wrote:
>>
>> Hi Milind, 
>>
>> I want to get all the content of the tiddler and get a list of headings, 
>>> images, links in the tiddler. How can I do that? 
>>>
>>
>> If you want to track
>>
>>  - ! heading
>>  - [[links]]
>>  - [img[image-links]]
>>
>> only, it should be doable, if you dig into the parse-tree. 
>>
>> ----------------
>>
>> What makes it hard is: transclusion and the list-widget. eg: 
>>
>> Tiddler A contains an image link like so: [img[Motovun Jack.jpg]]
>> Tiddler B contains {{Tiddler A}}
>>
>> So if you call your macro in Tiddler *B*. Should it know about the link 
>> in Tiddler A??
>>
>> ----------
>>
>> <<list-links filter:"[tag[HelloThere]]">> ... gives you 6 links. 
>>
>> What should happen here? 
>>
>> have fun!
>> mario
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d3c90e40-da63-4c6e-95ef-9a7cbc2991f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to