Glad to see this is still a topic of interest to people and not completely calcified now that TW5 has been out of beta for over a year.
I appreciate the alternatives and *do* love a good personalized solutions — hip-hip-hooray for the ease with which we can create macros in TW5! — but these three seem conspicuously absent from core wikitext. They're hardly edge cases of usage, and I believe their absence would deter people from adopting TiddlyWiki. (Well, #s 1 and 2 are missing features; #3 is more of a stumbling block that seems like it could be easily avoided with a minute shift.) ----------------------------------------------------------------------------------------------------------- On Saturday, January 16, 2016 at 5:35:46 AM UTC-5, Mat wrote: For a wikitext solution, I'd prefer soemthing that is as syntactically > close to existing img syntax > <http://tiddlywiki.com/#Images%20in%20WikiText> in combo with regular > prettylink where the image is the pretty, > thus; > > [img[imgPath|TiddlerTitle]] or [img width=20 [imgPath|TiddlerTitle]] > I think I prefer: [img[imgPath]link[tiddler]] and: [img[imgPath]ext[URL]] ... which is something Jeremy suggested here <https://groups.google.com/d/msg/tiddlywiki/DktUwUnG7iE/P3K4admtEAAJ>. Those seem the simplest and most inline with the rest of TiddlyWiki's distinctive wikitext markup. For specifying sizes and styles (and other extended formatting), I'm content to fall back on longer-form syntax like: <$link to="tiddler"><img src="image.jpg" style="width:20px;"></$link> My threshold for inclusion in the core's wikitext spec is a *little *looser than Jed's and Tobias's — but, I guess, only a little. ;) Not that I would be opposed to more functionality in the core wikitext in this regard. It's just that I feel the ability to display a linking image is fundamental and am less certain about where to draw the line on what sorts of formatting should be available via wikitext. There's no reason it couldn't support, say: [img[image.jpg]link[tiddler]style[width:"20px";border:"1px solid #FF0000"; float:"right";]] ----------------------------------------------------------------------------------------------------------- On Saturday, January 16, 2016 at 5:11:28 AM UTC-5, Jed Carty wrote: For the image link part, I think that there are so many use cases for > tiddlywiki that trying to make something special in the core for everything > is going to take too much effort for pretty small gains. I think that > wikitext macros are the way to go instead of adding more to the basic > wikitext syntax. > > The decision about what should be added and what shouldn't be is, of > course, completely subjective. I have been using the guideline if I can > make what I want using what currently exists than I won't try to add > something special for the situation > Tobias felt the same when I brought this up in the other thread. I may be in a minority, but I'm surprised you guys don't find this a basic enough use case to qualify for inclusion in standard wikitext. For my part, if we're going to bother with wikitext *at all*, we should include image-linking and a basic highlight. (Could be that I'm just used to them from using TWC, but they hardly seem quirky or personalized). It seems especially strange that TW supports [img[this]], [[this|somewhere]], and [ext[this|URL]] but requires us to fall back on <a href="URL" target="_blank"><img src="this" /></a> (or even <a href="URL" target="_blank">[img[this]]</a>). It makes TW's wikitext feel incomplete. > Do you think using <<imgLink "TiddlerTitle" "URL">> instead of > [img[path/to/image.jpg]link[TiddlerTitle]] would be a good alternative? > Because making a macro to do that wouldn't be hard and would have the same > result. > Macros have been my go-to. (That way, if image-linking is added to the core syntax later, I can just update the macros and not all those tiddlers. ;) ) This also allows me to format and position images consistently across a TiddlyWiki. ----------------------------------------------------------------------------------------------------------- On Saturday, January 16, 2016 at 12:39:33 PM UTC-5, AlexHough wrote: also, for images and links, look at TW.com: there is a thumbnail macro used > there > Thanks! (That's nicer than my homebaked macros, so they're about to start relying heavy on it!) ----------------------------------------------------------------------------------------------------------- On Friday, January 15, 2016 at 11:59:29 PM UTC-5, Matabele wrote: If this is something you use often, a keyboard shortcut could be configured > to add the markup around selected text -- and/or the class could be given a > shorter name e.g. .ho -- highlight orange, .hr -- highlight red .hg -- > highlight green > On Saturday, January 16, 2016 at 5:35:46 AM UTC-5, Mat wrote: you might be interested in @Danielos keyboardshortcuts > <https://github.com/danielo515>. > Neat-o. I haven't played around with keyboard shortcuts, but I will. Didn't realize Danielo had done so much work there. :) ----------------------------------------------------------------------------------------------------------- On Saturday, January 16, 2016 at 5:35:46 AM UTC-5, Mat wrote: In deed missed. But check out @Tobias' Link Image > <http://tobibeer.github.io/tb5/#Link%20Images> macro. > Definitely! That one's in my orbit for building image galleries, since I'm experimenting with using TiddlyWiki to organize wallpapers and screenshots now. ----------------------------------------------------------------------------------------------------------- On Saturday, January 16, 2016 at 5:35:46 AM UTC-5, Mat wrote: what is lacking, and which worked in TW2, is a quick default @@highlight@@ > - I just posted #2228 > <https://github.com/Jermolene/TiddlyWiki5/issues/2228> > Also on the to-do list: Learn my way around GitHub, since that seems to be the best place to post, discuss, and track requests, especially when it comes to proposing changes to the core. I've mastered "gittin' stuff" from there, but that's about it. :D -- 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/54193c4d-017a-4a48-bb7b-03541f1f4d1f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

