Currently it is possible to upload and view markdown files by simply passing the filename without an extension and setting the extension to txt when creating the viewing session. However, downloading the file proves to be problematic in this case because there doesn't seem to be a way to download it with the proper extension. Adding full support for this file type would negate these issues by simply allowing users to upload and download the files normally.
The team has scoped this work. We are looking at when we can schedule this in a release. I'll post an update here when I have an expected date.
Attachments Open full size
At this moment in time, we are just trying to view the raw markup. It may be OK if the PDV rendered the markdown - though would you cover all markdown flavours or just a specific one / subset?
We would be happy if we could use the following parameters so that the previewer treats the markdown file as txt but then uses the downloadName supplied.
displayName: "test"
fileExtension: "txt"
downloadName: "test.md"
What happens currently is that the downloadName is ignored and the file is downloaded as "test.txt".
Attachments Open full size
Can you add some clarification on what needs to be supported for the viewing request for markdown files?
Currently you are viewing a markdown file as text which is not rendering the markdown. I would not want to implement that kind of viewing because it will be confusing to other customers that would expect PDV to render the markdown.
Are you wanting PDV to view a .MD file as a .TXT file or do you want PDV to render the markdown?
Attachments Open full size