Why not paste straight into Word?
Pasting a chat answer into Word either brings the # and ** symbols with it or copies the chat's web styling: odd fonts, grey backgrounds and spacing Word's styles can't change.
This tool writes the document from scratch with Word's own styles. Change Heading 2 once and every section heading follows, and References → Table of Contents works straight away.