Hello all,

I figure this is a more appropriate question for the group than the 
discord. I am working on some basic conditional formatting for 
form-fillable tiddlers that display fields in a series of rows. To achieve 
this, I'm using simple macro to call the text from the desired field:

\define fff-display-block(field:"")
<$list filter='[is[current]has[$field$]]'>
<$transclude field="$field$" mode="block"/>
</$list>
\end

this is to pull from within the current filter and display the text 
formatted so that things like block quotes get picked up. The block quote 
tranclusion renders a small amount of padding on the top and bottom of the 
rendered text so that if you have a field "test" with the value of "one" it 
will render strangely


"""
text
<<fff-display-block "test">>
text
"""

Renders like:

*Text*

*One*


*text*


I've tested this in a fresh wiki and received the same result. I would 
prefer there to be no padding but also retain the ability for my block 
quotes to show up. Since I can't use the "inline" mode, what can I do to 
remove the padding? I have tried looking at the transclude widget code but 
I am quite JS naive so I'm not really sure what I could do there.

Thanks,

-Reece

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/14ce1a47-1d65-4837-9014-f52e0fd3784c%40googlegroups.com.

Reply via email to