qlstephen icon indicating copy to clipboard operation
qlstephen copied to clipboard

Allow to configure font settings for preview

Open estum opened this issue 8 years ago • 3 comments

This PR changes preview type to kUITypeHTML and adds keys to user defaults: fontFamily, fontSize, lineHeight. It solves issue #31

Configuration examples:

$ defaults write com.whomwah.quicklookstephen fontFamily "InputMono-Regular"
$ defaults write com.whomwah.quicklookstephen fontSize "13px"
$ defaults write com.whomwah.quicklookstephen lineHeight "21px"

estum avatar Dec 27 '16 20:12 estum

Thanks @estum. Will merge this soon.

tsdorsey avatar Dec 28 '16 22:12 tsdorsey

Any chance this will be merged soon? Cheers!

buggymcbugfix avatar Mar 19 '17 21:03 buggymcbugfix

@estum your code compiles, but unfortunately the plugin stops working.

This is the error:

Error reading file at file:///path/to/file/README
The specified text encoding isn’t applicable.

tessus avatar Jan 11 '19 22:01 tessus