How to attach text file to topic

Surely I must be missing something obvious…

I went to attach a log file to a topic post and discovered:

Sorry, the file you are trying to upload is not authorized (authorized extensions: jpg, jpeg, png, gif, webp).

Never heard of this before. Am I actually supposed to dump the log text into the topic text? Most forums discourage this for the sake of neatness.

How do I go about this on Fedora Discussions?

You can wrap the contents of the log file as a code block, then wrap the code block with [details][/details] to make it an expandable block, like the following:

log file
hello world!

Code:

[details="log file"]
```hello world!```
[/details]
3 Likes

Excellent. Thank you for clarifying!

1 Like