@@background-color:red;accomplish this@@.highlight {
background-color:red;
}@@.highlight accomplish this@@@@.highlight this@@<span class="highlight">this</span>@@this@@
- There's no wikitext for an image wrapped in a link.
[img[imgPath|TiddlerTitle]] or [img width=20 [imgPath|TiddlerTitle]]
- There's no wikitext for highlighting (adding a background-color to text).
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/63517ffb-60f0-4bff-8ac7-a66c1d5e49fc%40googlegroups.com.
For a wikitext solution, I'd prefer soemthing that is as syntactically close to existing img syntax in combo with regular prettylink where the image is the pretty,thus;[img[imgPath|TiddlerTitle]] or [img width=20 [imgPath|TiddlerTitle]]
[img[imgPath]link[tiddler]][img[imgPath]ext[URL]]<$link to="tiddler"><img src="image.jpg" style="width:20px;"></$link>[img[image.jpg]link[tiddler]style[width:"20px";border:"1px solid #FF0000";float:"right";]]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
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.
also, for images and links, look at TW.com: there is a thumbnail macro used there
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
you might be interested in @Danielos keyboardshortcuts.
Using three hyphens (---) to denote an <HR> means you can't put an m-dash on its own line.
Which may not be a problem for anyone else, but I tend to put an m-dash on its own line a fair bit and find myself resorting to keyboard shortcuts when it seems like wikitext should do.
If it took FOUR hyphens to indicate an <HR>, three would be reserved for an m-dash, and we wouldn't have this conflict.
---
---
If it took FOUR hyphens to indicate an <HR>, three would be reserved for an m-dash, and we wouldn't have this conflict.
Am I the only one who runs across this issue? :)
‍--- This can be a feature request with a github issue. ... but you need to be aware, that it will result in a backwards incompatible change. ... So it will be very hard to convince Jeremy.
There have been some discussions as the rules where implemented. https://github.com/Jermolene/TiddlyWiki5/issues?q=is%3Aissue+mdash+is%3Aclosed
Hi Scott,Am I the only one who runs across this issue? :)Quite possibly. ;-)
- Using three hyphens (---) to denote an <HR> means you can't put an m-dash on its own line.
Which may not be a problem for anyone else, but I tend to put an m-dash on its own line a fair bit and find myself resorting to keyboard shortcuts when it seems like wikitext should do.
If it took FOUR hyphens to indicate an <HR>, three would be reserved for an m-dash, and we wouldn't have this conflict.
Didn't you see my proposal, using: ---space which works perfectly fine and seems to be consistent too.
If I read the dash wikipedia page at: see: https://en.wikipedia.org/wiki/Dash, I have to say: "You are using it wrong". ... The mdash is not meant to be used as a short <hr>. So why change the TW syntax to add an edge case, as default behaviour.