GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Markdown (.md) viewers (Microsoft and others)

There are at least two Markdown preview handlers that we know of, and both work in Directory Opus.


Microsoft have released a Markdown (.md file) preview handler which works in both File Explorer and Directory Opus.

Markdown is a bit like a simplified version of HTML, and used a lot for things like ReadMe files on Github. (It's also supported by the forum here, although you'd be unlikely to save forum posts into .md files.)

This viewer is part of Microsoft's PowerToys for Windows 10, which you can download from https://github.com/microsoft/PowerToys/releases.

Once PowerToys is installed, the viewer is enabled by default and should just work.

One issue I noticed is that clicking the viewer itself will not bring the window to the front; you have to click elsewhere. This also affects the viewer in File Explorer.

As this is a third party viewer, if you find problems or want to request features, you should do so at https://github.com/microsoft/PowerToys/issues.


If you run into problems with Microsoft's Markdown preview handler, another option also exists:

That viewer also seems to work well in Directory Opus.

Thanks a lot Leo!

Is there a quick way in DO viewer pane to toggle between the PowerToys .md preview handler and a normal .txt preview - like the Hex View button in the bottom of the viewer pane?

It would be very useful.

If you right-click the viewer pane's titlebar (or its background, but only when it's the Text plugin or another native plugin, not a preview handler), the menu there has a Use Plugin sub-menu that can be used to switch to the Text plugin, or back to Default (to reset to the "natural" plugin for the file).

I don't think there's a command to do the same thing, so that's probably the only way, at least at the moment.

You can use Show PLUGIN=text.dll to show a file with a particular plugin, but it opens the standalone viewer rather than using the preview pane, which probably isn't what you want here.

Faster switch between Default (Markdown in this case).and Text plugin would be great in a future DO release - like the Hex View but it's ok for now. :slight_smile:

Thanks a lot for the info!

1 Like