Add apis for escaping and linking strings