How do I post an attachment (text, not photo) to my post
Copy and Paste. Then if it is configuration or data text, format it correctly like this https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16