should include net.multimarkdown.text UTI
iay opened this issue · comments
On one of my machines, QLMarkdown works perfectly. On another, it doesn't preview .markdown
files as I'd expect; instead I just get the standard text preview.
The difference between the two machines seems to be that on the machine on which things work a copy of Mac Vim is installed; the machine on which things don't work doesn't have that installed.
That wasn't a great workround so I looked into this a bit harder with the qlmanage
tool. I found that the issue was the UTI determined for the file. On the machine with Vim installed, it was resolved to net.daringfireball.markdown
while on the other it resolved to net.multimarkdown.text
.
Adding net.multimarkdown.text
manually to the Info.plist
file in the QLMarkdown bundle alongside the other two types fixed things for me.
Thanks. I have updated the code.