Add format registry item for variables in plugins

Hello,
I use custom data sources for aliyun.
I expected use a custom variable format options ,
The format options cannot support my query.

I found the code, about variables format.

How to use an additional format registry item for custom data sources.