{"action":"created","issue":{"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/1783","repository_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5","labels_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/1783/labels{/name}","comments_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/1783/comments","events_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/1783/events","html_url":"https://github.com/Jermolene/TiddlyWiki5/issues/1783","id":86735026,"number":1783,"title":"plugin or feature request: inner-tiddler-anchors, TOC","user":{"login":"rcrath","id":944636,"avatar_url":"https://avatars.githubusercontent.com/u/944636?v=3","gravatar_id":"","url":"https://api.github.com/users/rcrath","html_url":"https://github.com/rcrath","followers_url":"https://api.github.com/users/rcrath/followers","following_url":"https://api.github.com/users/rcrath/following{/other_user}","gists_url":"https://api.github.com/users/rcrath/gists{/gist_id}","starred_url":"https://api.github.com/users/rcrath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcrath/subscriptions","organizations_url":"https://api.github.com/users/rcrath/orgs","repos_url":"https://api.github.com/users/rcrath/repos","events_url":"https://api.github.com/users/rcrath/events{/privacy}","received_events_url":"https://api.github.com/users/rcrath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":63,"created_at":"2015-06-09T21:05:17Z","updated_at":"2016-10-03T11:28:01Z","closed_at":null,"body":"Hi, I'd like to make a case for heresy.  \r\n\r\n@Jermolene  described as a \"common request\" the ability to make internal links.  I understand that this goes against the philosophy of TW, in that if it deserves a subheading, it should get its own tiddler whose title is then transcluded back into a TOC tiddler as wiki link.  \r\n\r\nThat makes sense, but in practice there are times when it is in fact unwieldly to do so.  Specifically, I take book notes.  Lots of them.  To do the transclude method, I have to tag each tiddler with at least two tags, one of which is the title of the main TOC tiddler and the other with some distinguishing content tag so that I can pick up all and only the tiddlers with page notes from that particular book or whatever. I might have three notes or fifty.  I won't sort out things into proper semantic units until I write the actual text for the article or book I am working on.  THose categories arise from \"digesting\" the notes.  \r\n\r\nThe use case that is reccommended I therefore have, If I have 50 separate notes for \"book with a long title\" is to open 50 new tiddlers, add two (usually a couple more, so really, four on average)  so I create 50 tiddlers and enter tags 200 times instead of once with four tags.  This breaks a design principle of having the computer do repetitive work rather than the user.  It also means creating unwieldly tags that have no meaning as tags other than creating links.  A tag that is the title of a tiddler is not really a useful tag, since the tiddler has a title that is just as easily searchable as the tag.  In avoiding the internal links, it kind of breaks tags as topic headings that I can browse through.  I don't want a tag for every book I take notes on, especially when that is already the title of a tiddler.  \r\n\r\nWith internal links, the goal would be to write my separate entries with headers and then have a macro at the top which grabs all the headers and makes internal links to them.  You can see how the use case makes the one idea=one tiddler concept not work.  Now is when I expect someone to offer the advice to not use tiddlywiki5 then since it is obviously not the right tool.  It is however the right tool for many other reasons than the 1=1 design principle, plus I have hundreds of notes in the TW5 dating back years (upgraded from TW2)  so changing would be a hassle and I would lose all the other advantages ot TW.  In addition, Jeremy has stated in other contexts (loosel paraphrasing) that if someone wants to break with a design principle in TW5, the way to do it is with a plugin so that the core principles remain intact.\r\n\r\nI have two problems.  One is that I use TW to write, not as a development or design platform for coding.  while I am pretty intrepid in trying codish things out, I am not a coder and am unable to fix this problem with my own resources.  The second problem is that any attempt I have made to create internal links is foiled because TW5 turns the internal link into a tiddler with the internal link as its name.  This happens in markdown as well as tw5.  I can create the internal target like {{#this}} but the link will not link to it, instead creating a new tiddler (and in the process changing the base url of my node-js from 127.0.0.1:8080 to 127.0.0.1:8080/#this)\r\n\r\nSo despite the breaking of a design principle, is there any way to create internal links via plugin or otherwise?  I am willing to do testing and can do copy-and-paste type coding  Thanks for listening!"},"comment":{"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/comments/251083880","html_url":"https://github.com/Jermolene/TiddlyWiki5/issues/1783#issuecomment-251083880","issue_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/1783","id":251083880,"user":{"login":"tobibeer","id":97566,"avatar_url":"https://avatars.githubusercontent.com/u/97566?v=3","gravatar_id":"","url":"https://api.github.com/users/tobibeer","html_url":"https://github.com/tobibeer","followers_url":"https://api.github.com/users/tobibeer/followers","following_url":"https://api.github.com/users/tobibeer/following{/other_user}","gists_url":"https://api.github.com/users/tobibeer/gists{/gist_id}","starred_url":"https://api.github.com/users/tobibeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobibeer/subscriptions","organizations_url":"https://api.github.com/users/tobibeer/orgs","repos_url":"https://api.github.com/users/tobibeer/repos","events_url":"https://api.github.com/users/tobibeer/events{/privacy}","received_events_url":"https://api.github.com/users/tobibeer/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T11:28:01Z","updated_at":"2016-10-03T11:28:01Z","body":"@Jermolene, would you be sympathetic to this syntax?\r\n\r\n```\r\n<$$-inner title=\"Inner Section\">\r\ninner\r\n</$$-inner>\r\n```\r\n\r\nI think it would improve readability by a lot, as the closing tag would clearly indicate what we're closing."}}
{"actor":{"display_login":"tobibeer"}}