Enables previews of XD files (Adobe Experience Designer).
If you want to skip compilation and just install it, download release, unzip and copy QuickLookXD.qlgenerator
to ~/Library/QuickLook/
. To reach that folder in Finder, go to your Home, click on the Go menu on the top bar, hold the Option key and Library
will magically appear.
Or copy it from a terminal:
cp -R QuickLookXD.qlgenerator ~/Library/QuickLook/
How to find the UTI of a file:
$ mdls -name kMDItemContentType ./docs/example/file01.xd
kMDItemContentType = "com.adobe.xd.project"
Testing the generated quick look bundle:
$ qlmanage -g QuickLookXD.qlgenerator -c com.adobe.xd.project -p document.xd
Testing Quick Look preview with files:
/tmp/quicklookxd/document.xd
- force using content type UTI: com.adobe.xd.project
- force using generator at path: /tmp/quicklookxd/QuickLookXD.qlgenerator