Previewing Markdown files...!??
Previewing Markdown files...!??
Hello all,
I would like to be able to preview Markdown files from within XYplorer. I have found this:
Title: marked - a MarkDown viewer [beta]
Description: Preview Markdown (.md) files
Link: viewtopic.php?f=7&t=15785
Author: SammaySarkar
Labels: Markdown Preview
...but I am not able to figure out how to use it.
Can someone please shed some light on this for me? Thanks
I would like to be able to preview Markdown files from within XYplorer. I have found this:
Title: marked - a MarkDown viewer [beta]
Description: Preview Markdown (.md) files
Link: viewtopic.php?f=7&t=15785
Author: SammaySarkar
Labels: Markdown Preview
...but I am not able to figure out how to use it.
Can someone please shed some light on this for me? Thanks
---
Wolfgang
Wolfgang
Re: Previewing Markdown files...!??
You download the marked.xys and put it into the XYplorer script folder
E.g. open the folder via (from the address bar):
Menu - Tools - Customize File Associations...
and there you add (in first place):
You need to adapt the icon path...
E.g. open the folder via (from the address bar):
goto <xyscripts>;
Menu - Tools - Customize File Associations...
and there you add (in first place):
"Marked|<xyicons>\ext\ext_md.ico" md;markdown>::load "marked.xys";
You need to adapt the icon path...
One of my scripts helped you out? Please donate via Paypal
Re: Previewing Markdown files...!??
Microsoft Power Toys brings a good Markdown viewer.
Unfortunately it looks XY doesn't handle it.
It shows a black screen or gets an unhandled exception.
Other tools like Explorer, Everything and Total Commander use it.
Unfortunately it looks XY doesn't handle it.
It shows a black screen or gets an unhandled exception.
Other tools like Explorer, Everything and Total Commander use it.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Re: Previewing Markdown files...!??
Thanks a lot for this.highend wrote: ↑28 Jun 2022 09:18 You download the marked.xys and put it into the XYplorer script folder
E.g. open the folder via (from the address bar):goto <xyscripts>;
Menu - Tools - Customize File Associations...
and there you add (in first place):
"Marked|<xyicons>\ext\ext_md.ico" md;markdown>::load "marked.xys";
You need to adapt the icon path...
Still not quite sure...
- I did download and place the file into the scripts folder
- I did adjust the file associations
- I did find an "icon" folder in the xyplorer directory (in appdata\roaming) - but this one is empty
- I do not have a file named "ext_md.ico" on my PC
- would I have to "initialize" things somehow, because right now MD-files still appear just as text
---
Wolfgang
Wolfgang
Re: Previewing Markdown files...!??
The icon folder is by default empty. Just place your own icons there.
E.g. get this one as you like: https://icons8.de/icon/45065/markdown
E.g. get this one as you like: https://icons8.de/icon/45065/markdown
If you double click them?because right now MD-files still appear just as text
One of my scripts helped you out? Please donate via Paypal
Re: Previewing Markdown files...!??
Ah OK...
First, thanks for the link to the icon source.
Second: Yes, a doubleclick DOES work fine...
My intention was - and still is - to have a solution that works with the preview panels, like for images or html or text files. Doubleclicking the file would normally open my markdown editor. That's OK, but it is not a "quick preview".
Ain't there a chance in XYplorer right now?
First, thanks for the link to the icon source.
Second: Yes, a doubleclick DOES work fine...
My intention was - and still is - to have a solution that works with the preview panels, like for images or html or text files. Doubleclicking the file would normally open my markdown editor. That's OK, but it is not a "quick preview".
Ain't there a chance in XYplorer right now?
---
Wolfgang
Wolfgang
-
- Site Admin
- Posts: 60609
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Previewing Markdown files...!??
What do you expect from the markdown preview? Got a screenshot?
FAQ | XY News RSS | XY Twitter
Re: Previewing Markdown files...!??
I would like to have a live preview in the preview panel. In order to be able to flip through a folder full of markdown files and see the contents of each file without having to open them. Like images or text files...
---
Wolfgang
Wolfgang
Re: Previewing Markdown files...!??
For the preview panel you'd need a preview handler for markdown...
One of my scripts helped you out? Please donate via Paypal
Re: Previewing Markdown files...!??
OK. And what does this mean? Is there such a preview handler available in XYplorer?
---
Wolfgang
Wolfgang
-
- Site Admin
- Posts: 60609
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Previewing Markdown files...!??
Do you see such a preview in File Explorer?
FAQ | XY News RSS | XY Twitter
Re: Previewing Markdown files...!??
No, I do not...
But I am using XYplorer because it is able to do many things I cannot do with File Explorer. This is why I am asking if it is possible to preview Markdown files... If there is no way, well...
But I am using XYplorer because it is able to do many things I cannot do with File Explorer. This is why I am asking if it is possible to preview Markdown files... If there is no way, well...
---
Wolfgang
Wolfgang
-
- Site Admin
- Posts: 60609
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Previewing Markdown files...!??
If File Explorer had been able then it would have been just a bitness matter, easy to solve. But since it's not, you really need to find a preview handler for Markdown files, if such thing exists. XYplorer cannot do it natively.
FAQ | XY News RSS | XY Twitter
Re: Previewing Markdown files...!??
Thanks for the clear answer.
would there be a chance to integrate a tool like Quicklook into XYplorer?
https://apps.microsoft.com/store/detail ... n-us&gl=US
This tools lets me view MD-files in File Explorer by using the spacebar to trigger the preview
would there be a chance to integrate a tool like Quicklook into XYplorer?
https://apps.microsoft.com/store/detail ... n-us&gl=US
This tools lets me view MD-files in File Explorer by using the spacebar to trigger the preview
---
Wolfgang
Wolfgang
Re: Previewing Markdown files...!??
Yes, I see previews in Explorer and other tools
if the Microsoft Power Toys are installed.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73