FigmaToCode
FigmaToCode copied to clipboard
Collect superscript and subscript texts from figma
Your extension is very good, thank you btw!!
In figma, the designers on my team use this functionality a lot to place the text with sub or sup text, but when I copy the text of it, it never works:
If you could export this on HTML, it would be amazing not to have to do the manual work of placing each of these by hand 😅
In HTML the tags used for this are <sub> and <sup>, and in CSS, the equivalent is to use the "vertical-align: sub;font-size: 0.9em;" and "vertical-align: super;font-size: 0.9em;" respectively.