add require text plugin for templates