Skip to main content

Add markup support for string variables

  • December 21, 2023
  • 6 replies
  • 619 views

Jakob_Behrends

Using string variables as a “CMS” across multiple teams is great to achieve consistency in ux writing/labels etc.

If only it was possible to use markup within the variables. Because sometimes i run into a textbox where I want to format part of the string as bold, italic, underline … the usual suspects. With the way string variables are currently set up I can not cover this case with them. Hence, it wold be great if some kind of markup support was added.

Marry Christmas ;]

6 replies

parrot
  • New Participant
  • 18 replies
  • December 21, 2023

You may want to checkout parrot.global in the meantime 😉 it does support inline formatting for text layers . I can’t use variables to store but your data won’t leave the Figma file!


djv
Figmate
  • Community Support
  • 4976 replies
  • December 21, 2023

Thanks for the feedback!

We’ll pass this onto the Variables team for future consideration.


Jakob_Behrends
  • Author
  • New Participant
  • 10 replies
  • December 22, 2023

looks nice. though i would like to have it baked in and not start putting all that data into another tool. though if the Figma team decided to allow importing data to variables > that would work. seems i need to write another demand :]


Matt_Meeks
  • Active Member
  • 20 replies
  • January 8, 2024

Agreed, and not just for text that might need to be bold, italic, etc. It would be really useful to be able to have a block of text and have a variable inline within the text instead of requiring the entire block of text to be the variable.


Jakob_Behrends
  • Author
  • New Participant
  • 10 replies
  • January 16, 2024

100% that is another wish on my list > nested string variables.


Ruslan_Fedorov2

+1


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings