Skip to main content
Question

Superscript numbers in figma slides code block

  • May 13, 2026
  • 2 replies
  • 16 views

Rakel Vella

Hi, whenever I use numbers in the code block in figma slides they are always written in superscript.

Any tips? It does this with all the coding languages for the code block.

 

 

2 replies

Jaycee Lewis
Figmate

Hey, ​@Rakel Vella 👋 Thanks for including the screenshot and your details. I have a few questions that may help narrow this down:

  • What OS and browser are you on? (And if you have a sec, does it repro in the Figma desktop app or a different browser?)
  • Does it still happen if you paste a snippet in from somewhere you know it renders correctly — a GitHub Gist, VS Code, etc.? I’m curious if it's specific to typed input or affects pasted content too.

Thanks! — Jaycee


Jaycee Lewis
Figmate

Hey, ​@Rakel Vella I tried to repro this using an example with CSS and with Python. I couldn’t get either to display the unexpected superscript formatting. If you can copy + paste a code example here that is consistently yielding this result, please share here and I’ll try again. 

Best — Jaycee