13

The Windows explorer.exe has a previsualization pane (W7+) that let you preview .txt, .docx, .bat, etc. documents.

How can I make it preview markdown .md files ? Rendering just as plain text is kinda ok, but I'd like to render the markdown in the preview as well

3
  • Dupe of Windows 7 - Preview other file types as text in Preview Pane (I don't have any close votes left).
    – DavidPostill
    Nov 2 '15 at 22:19
  • 1
    Hmm actually this question is more specific towards markdown. I am not only looking to add it as a preview (like in the aforementionned question), but also to render the markdown in the preview if possible. Nov 2 '15 at 22:22
  • I'm glad this question was not closed, because the other question does not have the answer by TaZi pointing to MS PowerToys. For me, MS PowerToys was the fastest and easiest way to get File Explorer in Windows 10 to preview Markdown files.
    – mhucka
    May 31 at 21:46
9

I don't have enough reputation to add a comment, but, the solution to your problem is the correct answer from this thread: Windows 7 - Preview other file types as text in Preview Pane

Edit: Actually, according to this guy in that same thread, using PreviewConfig should be enough.

Edit 2: In order to preview custom or non-standard file-types with actual rendering (eg. color for code, rendering markdown, or images), it seems you need to have a Preview Handler. This thread on another forum adds some useful information to the discussion of developing such a preview handler, particularly this tutorial written in C#. I tried searching for a pre-written .md preview handler, but have come back empty handed. If you know C# I highly suggest looking further into this.

5
  • @DavidPostill I don't have enough reputation to flag the question for closing, but you are absolutely right, I should've flagged it, maybe "in need of moderator intervention" saying the question is/was a dupe would be more appropriate for a pleb like me? Now that the question has been edited slightly I'm not sure anymore, however.
    – ZN13
    Nov 2 '15 at 22:23
  • Don't worry about it. As you say the OP has commented on the proposed dupe ;)
    – DavidPostill
    Nov 2 '15 at 22:27
  • Hehe. You found exactly the same links I was just looking at ;) Much better answer!
    – DavidPostill
    Nov 2 '15 at 22:42
  • By the way. You now have enough rep to comment if you need to...
    – DavidPostill
    Nov 2 '15 at 22:45
  • :D! Search engines are amazing. Oh hey look at that, woop woop!
    – ZN13
    Nov 2 '15 at 22:47
5

since a couple of days this is possible with the MS PowerToys.

Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Inspired by the Windows 95 era PowerToys project, this reboot provides power users with ways to squeeze more efficiency out of the Windows 10 shell and customize it for individual workflows. A great overview of the Windows 95 PowerToys can be found here.

After you have installed it, you just toggle on the option "File Explorer" on and you get the rendering you want. Links are not clickable yet and images don't show, but apart from that it looks nice.

It comes under an MIT license and can do other useful stuff.

2
  • sry, just took a bad example from the previous answer. I hope the current version is better.
    – TaZi
    Apr 14 '20 at 15:49
  • Much better... :)
    – DavidPostill
    Apr 14 '20 at 15:51
4

Bit of an old thread, but this (a bit unstable) extension (warning: I am the author) does the trick for me:

https://github.com/Atrejoe/MarkdownPreview

Installation is a bit of a drag though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.