Last active
October 30, 2023 10:24
-
-
Save breiter/1d3d7db645fd4a6e5c57 to your computer and use it in GitHub Desktop.
Enable Spotlight indexing of Markdown in ~~El Capitan~~ Monterey without disabling SIP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /System/Library/Spotlight/RichText.mdimporter/Contents/Info.plist 2022-02-26 09:05:07.000000000 +0200 | |
+++ /Library/Spotlight/Markdown.mdimporter/Contents/Info.plist 2022-03-22 21:01:30.000000000 +0200 | |
@@ -13,27 +13,20 @@ | |
<string>MDImporter</string> | |
<key>LSItemContentTypes</key> | |
<array> | |
- <string>public.rtf</string> | |
- <string>public.html</string> | |
- <string>public.xml</string> | |
- <string>public.plain-text</string> | |
- <string>com.apple.traditional-mac-plain-text</string> | |
- <string>com.apple.rtfd</string> | |
- <string>com.apple.webarchive</string> | |
- <string>org.oasis-open.opendocument.text</string> | |
+ <string>net.daringfireball.markdown</string> | |
</array> | |
</dict> | |
</array> | |
<key>CFBundleExecutable</key> | |
- <string>RichText</string> | |
+ <string>Markdown</string> | |
<key>CFBundleGetInfoString</key> | |
<string>1.0, Copyright (c) 2004-2019 Apple Inc.</string> | |
<key>CFBundleIdentifier</key> | |
- <string>com.apple.MDImporter.RichText</string> | |
+ <string>com.apple.MDImporter.Markdown</string> | |
<key>CFBundleInfoDictionaryVersion</key> | |
<string>6.0</string> | |
<key>CFBundleName</key> | |
- <string>Rich Text Sniffer</string> | |
+ <string>Markdown Sniffer</string> | |
<key>CFBundleShortVersionString</key> | |
<string>6.9</string> | |
<key>CFBundleSupportedPlatforms</key> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
anyone finding this isn't needed now with Ventura and Sonoma?