Hey Jeremy! http://pharmayap.tiddlyspot.com/ here's the demo I posted, I think. Let me know if that works.
To Tony's question; that still leaves too much padding for my liking. On Friday, March 6, 2020 at 9:09:38 AM UTC-5, Jeremy Ruston wrote: > > Hi Reece > > I think that the transclusion is likely to be generating a <P> tag around > the content “One”, and if so it could be the margin of that P tag that > you’re seeing. Could you post a demo to tiddlyspot? > > Best wishes > > Jeremy > > On 6 Mar 2020, at 05:21, Reece Shaw <carad...@gmail.com <javascript:>> > wrote: > > 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 tiddl...@googlegroups.com <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/14ce1a47-1d65-4837-9014-f52e0fd3784c%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/14ce1a47-1d65-4837-9014-f52e0fd3784c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8fbb79b6-3de2-48d2-8b0b-c3709f92c943%40googlegroups.com.