Folks,
I know this has being covered before, but just can not locate it. 40+mins searching so far.
Someone published the way to parse a tiddler containing tags such as one or more <atag>something</atag>
in a tiddler. It also took account of attributes such as <atag some=attribute>something</atag>
.
Of course TiddlyWiki’s prolific use of “tags” is possibly making it difficult for me.
Any pointers appreciated.
For anyone interested in why?
- I want to develop a method where you can use an arbitary html tag such as
<quicklist>
one
two
three
</quicklist>
- The above can already have css applied to it, directly or with style/class etc…
- An examples may included “display: none;” to hide or “hard line breaks” etc…
- title=‘tooltip text’ also works on such areas.
- I would like for example a view template to parse the tiddler and find the content between the one or more quicklist tags within
- I could then parse each line and act on the content of each line as desired.
- Perhaps one day the content of the tag / section could be edited and saved back like Mohammad’s section editor does with headings.
- I believe even eventcatcher can respond to a click on such an area defined by an arbitrary tag.
[Edited] Easter egg for those interested in “arbitrary tags” or wrapping content
EditorToolbar-wrapper.json (5.4 KB) which is the subject of this thread.