Mario is right, \rules solution doesn't work well in my situation. I've 
spent entire morning playing with it, but decided to write custom 
parser: https://gist.github.com/ul/bdd6c6d6715b8ed36348304c973a91af
Custom parser is better than custom widget because you not only get links, 
but proper reference handling, missing, orphans etc.

вторник, 10 мая 2016 г., 19:51:48 UTC+3 пользователь Ruslan Prokopchuk 
написал:
>
> Hi!
>
> I think TiddlyWiki fits perfectly for literate programming. The only thing 
> I miss (except tangling sources for passing to the compiler, but it is easy 
> implemented as an external tool) is an ability to support wikilinks in 
> codeblocks. I mean that stuff like that:
>
> ```
> function parentChunk() {
>   console.log("let's include another chunk below");
>   // [[Included chunk name]]
> }
> ```
>
> to be rendered as
>
> function parentChunk() {
>   console.log("let's include another chunk below");
>   // Included chunk name <http:///>  <---- link to the tiddler! <a> tags 
> are allowed inside <pre> and <code> ones AFAIK
> }
>
> Is it possible to shadow codeblock macro to add support for that? How to 
> do that?
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/b7b96260-5e0e-4bec-b507-f9d921ca1ce6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to