Hi Reece It may be worth trying to use CSS float: left to position the prefix?
Best wishes Jeremy > On 8 Mar 2020, at 03:31, Reece Shaw <[email protected]> wrote: > > Hello all, > > Currently I am using transclusions in block mode to create some text blocks > from a data tiddler. Ideally, to display the data from said data tiddler, I > would like to add a prefix to the rendered text that appears in line with the > text from the field. > > Problem is that if I include text outside of the transclusion, it will render > above the text. I was testing with the below macro in a tiddler that has the > field "test". > > > \define pff-display-xblock(field:"" prefix:"") > <$list filter='[is[current]has[$field$]]'> > $prefix$<$transclude field="$field$" mode="block" /> > </$list> > \end > > <<pff-display-xblock "test" "prefix">> > > I can't use the inline mode because the fields may have text such as ordered > lists, which do not render correctly in inline mode. Any thoughts on how to > render this without the line break? > > Included a screenshot to show the rendered text. > > -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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/6a943130-ccb4-4d24-ad07-017c8688a5b6%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/6a943130-ccb4-4d24-ad07-017c8688a5b6%40googlegroups.com?utm_medium=email&utm_source=footer>. > <prefixtest.PNG> -- 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/50B3E992-9435-492C-9F2E-503B9FEC6310%40gmail.com.

