This is a stripped-down version of a single section of Grok TiddlyWiki, optimized for fast loading and readability by search engines. Some features are missing.

For the full Grok TiddlyWiki experience, please visit the wiki version of this page.

Ex:CreatingLinkDivs/answer

27th March 2021 at 10:30am
\define excerptify(title)
  <$wikify name=wikitext text={{$title$}}>
    <$text text={{{ [<wikitext>split[]first[200]join[]] }}} />...
  </$wikify>
\end

\define linkDisplay(title, filterFragment)
<div>
$title$:

<ul>
<$list filter="[all[current]$filterFragment$]">
  <li>
    <$link to=<<currentTiddler>>><<currentTiddler>></$link>
    <div><$macrocall $name="excerptify" title={{!!title}}/></div>
  </li>
</$list>
</ul>
</div>
\end

<div>
  <<linkDisplay "Links" "links[]">>
  <<linkDisplay "Backlinks" "backlinks[]">>
</div>

Go to question: Ex:CreatingLinkDivs