S S ,

I had a hunch that paid off. If we want the ID to be unique to tiddler use 
qualify and it seems to work.

*This should solve many of the aforementioned problems.*

Eg in TOC

<a href=<<qualify ##h1>> >Link to My Heading</a>


In Text

<h1 id=<<qualify #h1>> > My Heading</h1>

Also the following works to help users nest headings
<a href=<<qualify ##h1.1>> >Link to My Heading 1.1</a>

<h1 id=<<qualify #h1.1>> > My Heading h1.1</h1>




Notes:

   - There is not current tiddler in the sidebar so this may not work there 
   but a hardcoded number could be used
   - As ID's can be defined in CSS (Am I correct?) perhaps we can use the 
   new wikitext in CSS features to automatically generate ID's that qualify 
   them automatically.

I am confident there is more to be discovered.

Regards
Tony

On Friday, March 1, 2019 at 11:27:11 PM UTC+11, S. S. wrote:
>
>
> It's best experienced - and the tiddler says it better than pasting it 
> here.
>
> Please drag the attached tiddler into https://tiddlywiki.com/ and import. 
> In the side bar, Click the the Recent tab, and open the tiddler.
>
> Click the links at the top and within the tiddler, and then please read it 
> right to the very end to understand what is being shown.
>
> Thanks.
>
> *EDIT*: Please use the *updated* tiddler attached in my next post instead 
> of this one. Both work fine, but the updated tiddler corrects the 
> explanation.
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/c64bfc74-852c-47d9-bb4c-7889fef7222b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to