From 57d6215fda7c6752c1ff4e3c22259a55c4854339 Mon Sep 17 00:00:00 2001 From: twMat Date: Thu, 19 Jul 2018 18:58:58 +0200 Subject: [PATCH] [doc update] Custom_styles_by_data-tags.tid (#3355) A few minor improvements that I propose are merged directly. But, @pmario , we also need a clarifying example showing how to target a tiddler using *multiple* tags. So, under the examples there ought to be something like this:... BUT I fail to get this to work (syntax?): ``` [data-tags*="[[How to apply custom styles]] example-test"] { outline: 2px solid green; } ``` Further, the text states that `Important: Tiddler tags are not sorted, so the order in the rendered output may be different!` ...but I'm not sure what this means. Does it mean: ``` Important: A tiddlers tags are displayed alphabetically but rendered styles may come out in a different order. As per standard CSS behaviour, styles rendered later override styles rendered earlier. ``` --- .../tiddlers/howtos/Custom_styles_by_data-tags.tid | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/editions/tw5.com/tiddlers/howtos/Custom_styles_by_data-tags.tid b/editions/tw5.com/tiddlers/howtos/Custom_styles_by_data-tags.tid index 62df8bdcb..688e217fe 100644 --- a/editions/tw5.com/tiddlers/howtos/Custom_styles_by_data-tags.tid +++ b/editions/tw5.com/tiddlers/howtos/Custom_styles_by_data-tags.tid @@ -8,7 +8,7 @@ type: text/vnd.tiddlywiki <<.from-version "5.1.16">> -The ~TiddlyWiki core adds several `attributes` to the rendered content. With those attributes it's possible to apply custom styles to the tiddler content. +The ~TiddlyWiki core adds several `attributes` to the rendered content. These make it possible to apply custom styles to tiddlers. For example this tiddler is tagged: <> and <> so the attribute looks like this: @@ -16,11 +16,11 @@ For example this tiddler is tagged: <> and <