How can I use Rich Text from data and also formatting

Suppose I have data called name and I want to do this

here is your name: <b> `name` </b>. 

How can I make this possible? It would be a combination of “Custom” and “From data” in Rich Text.

As far as I know, for now, I can either format a text using markdown or use a text from data.

Thanks

Create a template column with placeholder text for name, then specify which column value replaces the name placeholder. Use that column in a rich text component.

https://docs.glideapps.com/all/reference/data-editor/template-column

3 Likes

Thank you!

1 Like

hello sir,
could you explain it step by step as i am unable to understand this :sweat_smile:

Where are you stuck? Have you looked at the documentation and video for template columns? I’m not sure I could explain it any better than that.

Okay, I know how to create a column template: but how do I use that column template in a rich text with formatting? So, how can I greet user with markdown: # Welcome … ?

If I simply choose the column template as value for the rich text, it won’t get formatted

EDITED: just after replying above, I just realize: I simply type: “# Welcome name!” in column template and replace name to name column. :smiley: After that in rich box I simply point that to my template column

Thanks!

1 Like