Tapatalk

Markdown Live Preview not working with UNC

Markdown Live Preview not working with UNC

2
NewbieNewbie
2

Post18:11 - Apr 24#1

Hi folks, longtime UE user but my first post on the forum!

I just ran into an issue… hoping someone can point me toward a solution. I have a computer on the local network with a folder containing markdown files. 

Suppose I have a markdown file at c:\myfile1.md and the same file at \\some\share\myfile1.md. UltraEdit can open c:\myfile1.md and \\some\share\myfile1.md, but when I try to use live preview, c:\myfile1.md renders normally while \\some\share\myfile1.md gives me a blank window with nothing rendered. That doesn't seem right. What's the issue here?

6,823625
Grand MasterGrand Master
6,823625

Post10:37 - Apr 25#2

I cannot reproduce such an issue. I copied a markdown file to a network-attached storage using a UNC path. Then I opened in UltraEdit that markdown file using its UNC path and opened the live preview. That worked fine. UltraEdit created 0MarkdownFileName.html in the folder of the markdown file on the network-attached storage and displayed the HTML file.

Is \\some\share\ write-protected for your account?

In this case neither the live preview nor the browser view can be used to get the markdown file converted to HTML and displayed with (HTML and CSS) formatting applied in the live preview or the browser view. UltraEdit must have the permission to create temporary the HTML version of the markdown file in the folder of the markdown file to display it in the live preview or browser view window pane.

See also: Markdown to HTML

2
NewbieNewbie
2

Post4:55 - Apr 26#3

Hmm... it doesn't work for me, and I've tried both the current version of UltraEdit as well as a version from a couple years ago, with consistent results. I don't have both panes side by side... I'm using "Browser view" to toggle the web browser view for the markdown file so I'm looking at one or the other. I wouldn't expect that to make a difference, but guess you never know.

I'll test again and report back on what I find. I'd love it if mine works like yours! Fingers crossed...

41
NewbieNewbie
41

Post21:52 - Apr 27#4

I have this same problem with Live Preview from a UNC path. This is true for previewing .md files and .html files. In the case of .md files, UltraEdit properly parses <file>.md and creates the preview 0<file>.html file but is unable to display it.

The problem is with WebView2. If WebView2 is disabled the preview from a UNC path works as expected. See: Disable WebView2. There are other side effects from disabling WebView2. For me the benefits outweigh the disadvantages.