formatDocumentTag x -- formats the tags used with TO for display purposes in documents.
This function is intended for internal use only.
Ways to use formatDocumentTag :