-
Notifications
You must be signed in to change notification settings - Fork 0
jonasf73/QLHTML
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Here is a very simple Quick Look generator for HTML files. It renders the HTML code instead of the full HTML preview. 1) In Xcode, create a new project and chose Quick Look Plug-In template 2) Modify Info.plist file: - change Plug-In bundle identifier to something meaningful - change Document Types binding to public.html - change "Needs to be run in main thread" to YES 3) Modify GenerateThumbnailForURL.c and GeneratePreviewForURL.c to render HTML content as plain text instead of HTML 4) Build and install in ~/Library/QuickLook or /Library/QuickLook 5) use "qlmanage -r" to make sure the Plug-In has been registered 6) Enjoy
About
Simple Quick Look generator displaying HTML code instead of HTML preview
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published