This is one approach I came up with, but it only supports customization for one tiddlers
|tc-center|k
|tc-table-no-border|k
| ''666'' |
This is one approach I came up with, but it only supports customization for one tiddlers
|tc-center|k
|tc-table-no-border|k
| ''666'' |
If this winds up centering things you do not want centered, or if this is not centering everything you would like centered, then we adjust as we go.
For now, give this a spin and see what you think:
Cheers !
Perfect solution! Okay, I got sloppy. The centered style doesnât work with code blocks, and â$:/ControlPanelâ entries, they look weird,(No, itâs supposed to be code weird aesthetics),and it looks like it works best with text embellish styles
Ah, then we have to create CSS that applies only to a subset of tiddlers.
So instead of a blanket CSS style like I first suggested, we need styles for specific tiddlers with CSS wrapped by a list-widget filter.
Iâm at work, and have no time to look at this until tonight (say in five or six hours.)
Keep in mind that what we are doing here is prototyping to âelicitâ requirements (I.e. for us to figure out the âwe donât know what we donât knowâ.)
Performance, that doesnât matter until later, and only if it is an issue. Then, we refactor the prototype.
I though this was the case when you asked to do something impactful to âtext of all tiddlersâ.
I suggest finding how you want to indicate the scope of such a change and only ever apply such changes to a subset of all tiddlers. Most likely a tag or field on tiddlers in which you want this to apply. Have a look at the system field class
to see an appropriate field?
But we can get really sophisticated in this including maintaining a list of tiddlers to which to apply this alternate css.
An incremental and iterative process will get us there.
Try this in a stylesheet tiddler; ask if thereâs anything in there that you wonder about:
\define dbqt() "
<$list filter="[is[tiddler]!is[system]!regexp<dbqt>]">
[data-tiddler-title="<<currentTiddler>>"] .tc-tiddler-body {text-align:center;}<br>
</$list>
pre {text-align:left;}
Not at all.
This applies to everybody: âI donât know what I donât know.â
Incrementally and iteratively, we are playing a back and forth game of:
It is all good. TiddlyWiki makes it ridiculously easy to do incremental and iterative (agile!) prototyping as part of requirements gathering (i.e. needs analysis.)
If we are lucky, the prototype evolves into the final solution. Or, before throwing it away, it serves as informative guide for building the final solution.
Rockân roll.
Big Requirements Up Front (as in you have to know everything you want and know exactly how to express what you want before the âprocessâ begins), that poop sandwich in a dumpster fire approach is for the birds.
This effect becomes more subtle, it is equivalent to using a filter to screen all the user tiddlers, and then they are set in the text center, does not change the system tiddler Settings, the code returns the result is like the linux terminal, which is very cool! There is a situation, if my tiddlers are above and below the text block, code block, it belongs to the user entry, so it will act on the body text block center, do not do any modification style of the code block, which seems to have something wrong, or such a comprehensive layout is so, but I did not touch it, some look not used to
This means that I will actively discuss with friends in this forum, if I can, to develop this logical rationality intuition that is unique to tiddlywiki
Indeed, some of the code that appears in the process but is eventually discarded, silently provides a more reasonable logical thinking process for more useful direct requirements and indirect requirements
Thank you very much for the logical thought process that you provided, perhaps this indicates that the subclasses that need to be modified should be unified to add some kind of label, but unfortunately, my tiddlers have a lot of text styles, and I need to open all of them to accurately add the appropriate label to the tiddlers that need to be modified by the style