Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A new UTI ? #82

Closed
fblondiau opened this issue Nov 23, 2021 · 4 comments
Closed

A new UTI ? #82

fblondiau opened this issue Nov 23, 2021 · 4 comments

Comments

@fblondiau
Copy link

Hello,

You kindly ask to report such new entry, so, here it is : on Monterey, it looks like the

mdls -name kMDItemContentType PATH_OF_AN_EXISTS_MD_FILE

is giving a new beast

kMDItemContentType = "public.markdown"

which, maybe, explains why, on my MacBook Pro (M1 Max), your so appreciated QuickLook extension is not working anymore.

@sbarex
Copy link
Owner

sbarex commented Nov 23, 2021

macOS do not provide a system UTI for the markdown files.

Probably some application has defined this UTI.

What is the output of this command?
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep -n12 'public.markdown'

@lolbat
Copy link

lolbat commented Nov 23, 2021

This is what I get

----
136851:type id:                    public.markdown (0xb360)
136852-bundle:                     Nova (0x333c)
--
136852-bundle:                     Nova (0x333c)
136853:uti:                        public.markdown
136854-localizedDescription:       "Base" = ?, "de" = ?, "en" = ?, "fr" = ?, "ja" = ?, "LSDefaultLocalizedValue" = "Markdown document", "zh-Hans" = ?
136855-flags:                      active  public  exported  trusted (0000000000000053)
136856-conforms to:                public.plain-text
136857-tags:                       .md, .mkd, .mkdn, .mdown, .markdn, .markdown, text/markdown, text/x-markdown, text/x-web-markdown
136858-

I have the exact same issue. The weird thing is that I have Nova disabled in the Quick Look extensions and Nova isn't the default app for .md files. So I have no idea how this is blocking QLMarkdown from working.

@sbarex
Copy link
Owner

sbarex commented Nov 23, 2021

Ok, the app that define the UTI is Nova.

The release 1.0.6 handle the new UTI.

@fblondiau
Copy link
Author

Indeed, I had Nova installed also. Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants