Don, Windows Explorer can preview md files if PowerToys is installed.
As Horst said, XY can't use that preview though.
E.g.:
This happens if you disable the md preview for text files and add it to office files...
Configuration | Other | Shell Integration | 64-bit Windows | [x] Use 64-bit preview handlers for preview
Previewing Markdown files...!??
Re: Previewing Markdown files...!??
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 64332
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Previewing Markdown files...!??
Ok. Can you post the whole text under the Details button as text?
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.
Re: Previewing Markdown files...!??
@Horst: Can you please show where you integrate Power Toys into XYplorer?
And did you try Quicklook as an alternative?
---
Wolfgang
Wolfgang
Re: Previewing Markdown files...!??
Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception (5023): Failed to set Win32 parent window of the Control.
at System.Windows.Forms.Control.SetParentHandle(IntPtr value)
at System.Windows.Forms.Control.ControlCollection.Add(Control value)
at System.Windows.Forms.Form.ControlCollection.Add(Control value)
at Microsoft.PowerToys.PreviewHandler.Markdown.MarkdownPreviewHandlerControl.<>c__DisplayClass17_1`1.<<DoPreview>b__2>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
************** Loaded Assemblies **************
System.Private.CoreLib
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Private.CoreLib.dll
----------------------------------------
PowerToys.MarkdownPreviewHandler
Assembly Version: 0.59.1.0
Win32 Version: 0.59.1.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.MarkdownPreviewHandler.dll
----------------------------------------
PowerToys.PreviewHandlerCommon
Assembly Version: 0.59.1.0
Win32 Version: 0.59.1.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.PreviewHandlerCommon.dll
----------------------------------------
System.Runtime
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Runtime.dll
----------------------------------------
System.Drawing.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Drawing.Primitives.dll
----------------------------------------
System.ComponentModel.TypeConverter
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.Runtime.InteropServices
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Runtime.InteropServices.dll
----------------------------------------
PowerToys.ManagedTelemetry
Assembly Version: 0.59.1.0
Win32 Version: 0.59.1.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedTelemetry.dll
----------------------------------------
System.Diagnostics.Tracing
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Diagnostics.Tracing.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 6.0.2.0
Win32 Version: 6.0.622.26705
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/System.Windows.Forms.dll
----------------------------------------
System.ComponentModel.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.ComponentModel.Primitives.dll
----------------------------------------
System.Windows.Forms.Primitives
Assembly Version: 6.0.2.0
Win32 Version: 6.0.622.26705
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/System.Windows.Forms.Primitives.dll
----------------------------------------
System.Collections.Specialized
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Collections.Specialized.dll
----------------------------------------
Markdig.Signed
Assembly Version: 0.27.0.0
Win32 Version: 0.27.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Markdig.Signed.dll
----------------------------------------
System.Collections
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Collections.dll
----------------------------------------
System.Drawing.Common
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/System.Drawing.Common.dll
----------------------------------------
System.Diagnostics.TraceSource
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Diagnostics.TraceSource.dll
----------------------------------------
Microsoft.Win32.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/Microsoft.Win32.Primitives.dll
----------------------------------------
System.Threading
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Threading.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
System.Threading.Thread
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Threading.Thread.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 6.0.622.26705
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/Accessibility.dll
----------------------------------------
Microsoft.Win32.SystemEvents
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.Runtime.Extensions
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Runtime.Extensions.dll
----------------------------------------
System.Private.Uri
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Private.Uri.dll
----------------------------------------
System.Collections.NonGeneric
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Collections.NonGeneric.dll
----------------------------------------
System.IO.Abstractions
Assembly Version: 12.0.0.0
Win32 Version: 12.2.5.15321
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.IO.Abstractions.dll
----------------------------------------
netstandard
Assembly Version: 2.1.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/netstandard.dll
----------------------------------------
System.Security.AccessControl
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Security.AccessControl.dll
----------------------------------------
System.Text.RegularExpressions
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Text.RegularExpressions.dll
----------------------------------------
PowerToys.Common.UI
Assembly Version: 0.59.1.0
Win32 Version: 0.59.1.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Common.UI.dll
----------------------------------------
PowerToys.ManagedCommon
Assembly Version: 0.59.1.0
Win32 Version: 0.59.1.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedCommon.dll
----------------------------------------
Microsoft.Web.WebView2.WinForms
Assembly Version: 1.0.1150.38
Win32 Version: 1.0.1150.38
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.WinForms.dll
----------------------------------------
Microsoft.Web.WebView2.Core
Assembly Version: 1.0.1150.38
Win32 Version: 1.0.1150.38
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.Core.dll
----------------------------------------
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/mscorlib.dll
----------------------------------------
System.Memory
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Memory.dll
----------------------------------------
ControlzEx
Assembly Version: 5.0.0.0
Win32 Version: 5.0.1.15
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/ControlzEx.dll
----------------------------------------
PresentationCore
Assembly Version: 6.0.2.0
Win32 Version: 6.0.622.26804
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/PresentationCore.dll
----------------------------------------
PresentationFramework
Assembly Version: 6.0.2.0
Win32 Version: 6.0.622.26804
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/PresentationFramework.dll
----------------------------------------
WindowsBase
Assembly Version: 6.0.2.0
Win32 Version: 6.0.622.26804
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/WindowsBase.dll
----------------------------------------
DirectWriteForwarder
Assembly Version: 6.0.2.0
Win32 Version: 6,0,622,26804 @Commit: dabcf2041548f7594b21e9bf865463abdfd14307
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/DirectWriteForwarder.dll
----------------------------------------
System.Runtime.CompilerServices.VisualC
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Runtime.CompilerServices.VisualC.dll
----------------------------------------
System.Diagnostics.Debug
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Diagnostics.Debug.dll
----------------------------------------
Microsoft.Win32.Registry
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/Microsoft.Win32.Registry.dll
----------------------------------------
System.ObjectModel
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.ObjectModel.dll
----------------------------------------
System.ComponentModel
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.ComponentModel.dll
----------------------------------------
System.Xaml
Assembly Version: 6.0.2.0
Win32 Version: 6.0.622.26804
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/System.Xaml.dll
----------------------------------------
System.Configuration.ConfigurationManager
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/System.Configuration.ConfigurationManager.dll
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------
System.Diagnostics.Process
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Diagnostics.Process.dll
----------------------------------------
System.Xml.ReaderWriter
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Private.Xml.dll
----------------------------------------
System.Net.WebClient
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Net.WebClient.dll
----------------------------------------
System.Net.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Net.Primitives.dll
----------------------------------------
System.Net.Requests
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Net.Requests.dll
----------------------------------------
System.Net.WebHeaderCollection
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Net.WebHeaderCollection.dll
----------------------------------------
System.Text.Encoding.Extensions
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Linq
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Linq.dll
----------------------------------------
PresentationFramework-SystemXml
Assembly Version: 6.0.2.0
Win32 Version: 6.0.622.26804
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/PresentationFramework-SystemXml.dll
----------------------------------------
System.Runtime.CompilerServices.Unsafe
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Runtime.CompilerServices.Unsafe.dll
----------------------------------------
System.Threading.ThreadPool
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Threading.ThreadPool.dll
----------------------------------------
System.Threading.Tasks
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Threading.Tasks.dll
----------------------------------------
System.Drawing
Assembly Version: 6.0.2.0
Win32 Version: 6.0.622.26705
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.6/System.Drawing.dll
----------------------------------------
System.Numerics.Vectors
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Numerics.Vectors.dll
----------------------------------------
System.Runtime.Loader
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Runtime.Loader.dll
----------------------------------------
System.Diagnostics.StackTrace
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
Assembly Version: 6.0.0.0
Win32 Version: 6.0.622.26707
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Collections.Immutable.dll
----------------------------------------
************** JIT Debugging **************
One of my scripts helped you out? Please donate via Paypal
Re: Previewing Markdown files...!??
Under Preview / Previewed Formats
I removed Markdown from the Text Files and added it in Office Files.
QuickLook is not necessary for me.
I have Total Commander which has its own Markdown Lister plugin
and also can use the Power Toys md previewer.
With a button in XY I can use all Total Commander Lister plugins.
Windows 11 Home, Version 24H2 (OS Build 26100.6584)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1399a (x64), Everything Toolbar 2.0.4, Listary Pro 6.3.5.94
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1399a (x64), Everything Toolbar 2.0.4, Listary Pro 6.3.5.94
-
- Site Admin
- Posts: 64332
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Previewing Markdown files...!??
Oha, this looks like work. I put it on my todo list...highend wrote: ↑28 Jun 2022 14:56Code: Select all
See the end of this message for details on invoking ...
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.