Zend certified PHP/Magento developer

Magento 2 – Custom Variable | How to get the Plain Value as well as HTML value using directive {{CustomVar code=”CUSTOM_VAR_CODE”}} in CMS Blocks?

I have added the Custom Variable from Admin > System > Other settings > Custom Variables > Add New Variable, it is possible to add both the Variable HTML Value as well as Variable Plain Value as in the screen shot below

enter image description here

When using the directive {{CustomVar code=”CUSTOM_VAR_CODE”}} in Content > Static > Blocks it always retrieves the Variable HTML Value, but there is no way or documentation on how to retrieve the Plain Value using directive {{CustomVar code=”CUSTOM_VAR_CODE”}} ?

Please share thoughts