Inline tagged templating and template compliation for text inputs