Pad Operator and Space: Is it time to have a prints filter operator? #6192
-
In https://tiddlywiki.com/#pad%20Operator
works fine! but how if I want to pad with space!
This doesnot work! I use this time to ask is it possible to have a Side note: we can get idea from python simple format function here! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Actually, You can see the whitespace in the output by wrapping the code within |
Beta Was this translation helpful? Give feedback.
Actually,
[range[1,15]pad[2],[ ]]
does work. It's just that when the output is displayed, the whitespace is being collapsed by the browser's HTML rendering engine.You can see the whitespace in the output by wrapping the code within
<pre>...</pre>
, like this:<pre><$list filter="[range[1,15]pad[2],[ ]]"><$text text=<<currentTiddler>> /><br></$list></pre>