Global Variables

I need this as a programmer for personal use, but not as a business :frowning:

Here's an example, with shortcut set to !#%global so I won't accidentally type it ever:

{note}===== My Text Blaze Variables =====
{isWebsite=catch(startswith({site: protocol}, "http"), no)}
{if: isWebsite}{where="forum"}{else}{where="this thread"}{endif}
{endnote}

Now, import this snippet at the bottom of every snippet you create, and you can reference the variables:

However, we won't be able to click on the variables in the sidebar:

2 Likes