Global scope function

I have a function that convert numbers to emoji. For now, I have to repeat this function code in all blocks I have numbers to convert. I use this function to convert numbered lists on many blocks.
Is there an option to create this function as global to avoid repeat it in each block?
Was this page helpful?