Here is a table with an optional middle row. (Change *text="y"* to 
*text="x"* to reveal it.)

<table>
<tr><td>January</td><td>2015</td></tr>



*<$reveal default="x" type="match" 
text="y"><tr><td>February</td><td>2016</td></tr></$reveal>*
<tr><td>March</td><td>2017</td></tr>
</table>

But if you try this, you'll find that it generates *<span 
class="tc-reveal">* around the middle row, and this ruins the table's 
layout.

The reveal widget will generate *<div class="tc-reveal">* instead if it 
believes it's being parsed in block mode. But if I add blank lines, a <p> 
element gets generated, and this ruins the layout in a different way.

Is it possible to make a row of a table conditional, and if so, how?

Incidentally, I think my use case for this would be satisfied by a new 
\ifdef pragma, as discussed here: 
https://groups.google.com/forum/#!topic/tiddlywiki/VX1qnNb48PI

– æ

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to