Wikify Difference

81 views
Skip to first unread message

Thomas Stone

unread,
Dec 24, 2020, 5:52:29 AM12/24/20
to TiddlyWiki
I was wondering why the WikifyWidget's HTML output of an internal link includes a # link.

```
\define test_link()[[a_test]]

<$wikify name=str_text_out text=<<test_link>> output="html">
1)  <<str_text_out >> 
</$wikify>  

2) <<test_link>>  
```

Both outputs look same, but clicking on link #1 opens the [[a_test]] navigates the browser to the #a_test bookmark and tiddler at the top of the story river. You can close the [[a_test]] tiddler, and link #2 can re-open it, but link #1 doesn't work because the the browser address already shows the #a_test bookmark.


Jeremy Ruston

unread,
Dec 24, 2020, 7:23:13 AM12/24/20
to tiddl...@googlegroups.com
Hi Thomas

The wikify widget doesn't support dynamic content because it produces a static snapshot of the rendering. In fact, internal links always include the `#` but you wouldn't normally see it because a JavaScript event handler intercepts clicking on the link.

What are you trying to achieve?

Best wishes

Jeremy


On 24 Dec 2020, at 10:52, Thomas Stone <positiv...@gmail.com> wrote:


--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2538d53d-3755-4a53-a20f-bc10b55afc5dn%40googlegroups.com.

Thomas Stone

unread,
Dec 24, 2020, 8:14:13 PM12/24/20
to TiddlyWiki
I was just trying to understand some of the differences between Wikified HTML and Transcluded content. Thank you for explaining.
Reply all
Reply to author
Forward
0 new messages