View markdown files

I imported slacks “post” files wich are now shown in mattermost withtout extension and cannot be easily viewed.

Steps to reproduce
Import Slack messages with “post” file in channel.

Expected behavior
Idealy there would be a way to view/edit the markdown content.

Is there a similar feature to slack “posts” (basically markdown files with in-app viewing and editing) in mattermost.
Is there another way I could make these file readable again?
Its really just markdown wrapped in curly brackets in a file without extension.
We used these a lot and found that functionality really useful.
But if there is no similiar feature it would be nice to at lead read the files content again in the app.

Thank for any help or hints

Hi proxycon,

I’m not sure I understand. I created a file called test on my system and dragged it into a Slack channel, this is the result:


Let me know if this is what you’re seeing in Slack and if not, please share a screenshot or more detailed instructions on how to reproduce that. Thanks!

Sorry for the late response.
I was not referring to normal file attachments.
Slack has a special Message type called posts (see here for documentation). These are basicly just markdown that is shown in-line in slack. Imported into Mattermost these “posts” show up as undefined file types and no preview is possible. I assume this would require more effort to craft a custom solution for this. I have given up and if needed just downloaded the file, manually changed the extension and copied the markdown plain into Mattermost.
I just posted here for completion, maybe someone else is stinking across the same problem.

Hi again,

thanks for your response - can you maybe share a screenshot of such a post or let me know what the file extension is here?