DEV: Export pretty text function for plugin use (PR #13826)

GitHub