A hexo plugin for inserting values which need to be calculated on real time.
This plugin is very easy to use.
Locate to the root path of your hexo blog.
npm i hexo-tag-real-time-calculator --save
Done!
{% calc '<JS code for returning result.>' %}
For example:
I'am {% calc "(new Date()).getFullYear()-1992" %} years old.
Or
I'am {% calc '(new Date()).getFullYear()-1992' %} years old.
The output is(in 2019):
I'am 27 years old.