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

 26th September 2024 at 7:02am
\procedure excerptify(title)
  <$wikify name="contents" text={{{ [<title>get[text]] }}}>
    <$text text={{{ [<contents>split[]first[200]join[]] }}} />...
  </$wikify>
\end

\procedure linkDisplay(title, subfilter)
  <div>
    <<title>>:

    <ul>
      <$list filter="[all[current]subfilter<subfilter>]">
        <li>
          <$link />:
          <div><$transclude $variable="excerptify" title={{!!title}}/></div>
        </li>
      </$list>
    </ul>
  </div>
\end

<div>
  <<linkDisplay "Links" "[links[]]">>
  <<linkDisplay "Backlinks" "[backlinks[]]">>
</div>
Go to question: Ex:CreatingLinkDivs