Product Ideas

As a developer, I would like the viewer to support uploading, viewing, and downloading markdown files

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.

  • Guest
  • Jul 26 2021
  • Likely to Implement
  • Attach files
  • Mark Fears commented
    24 Nov, 2021 02:27pm

    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.

  • Guest commented
    29 Jul, 2021 03:12pm

    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".

  • Mark Fears commented
    26 Jul, 2021 07:42pm

    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?