SkillAgentSearch skills...

QuickLook.Plugin.SumatraPDFReader

This plugin allows QuickLook to preview multi-format (EPUB, MOBI, CBZ, CBR, FB2, CHM, XPS, DjVu) from SumatraPDF.

Install / Use

/learn @emako/QuickLook.Plugin.SumatraPDFReader
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

QuickLook icon

QuickLook.Plugin.SumatraPDFReader

This plugin allows QuickLook to preview multi-format (EPUB, MOBI, CBZ, CBR, FB2, CHM, XPS, DjVu) from SumatraPDF.

SumatraPDF Reader is not a replacement of PDF Viewer for QuickLook.

Alternative PDF Viewer: QuickLook.Plugin.PdfViewer-Native

Supported extensions

The following file extensions are treated as SumatraPDF Reader supporting files.

  • epub
  • mobi
  • cbz
  • cbr
  • fb2
  • chm
  • xps
  • djvu
  • pdf (optional, disabled by default)

Configuration

How to enable PDF Support?

By default, this plugin does not handle PDF files to avoid conflicts with the default QuickLook PDF viewer. If you prefer to use SumatraPDF for viewing PDF files, you can enable PDF support by adding the following setting to your QuickLook configuration file:

Configuration file location:

  • Standard installation: %APPDATA%\pooi.moe\QuickLook\QuickLook.Plugin.SumatraPDFReader.config
  • Portable installation: <QuickLook Installation>\UserData\QuickLook.Plugin.SumatraPDFReader.config

Add this line to the configuration file:

<?xml version="1.0" encoding="utf-8"?>
<Settings>
  <EnablePdf>true</EnablePdf>
</Settings>

After enabling this setting, restart QuickLook for the changes to take effect.

Developer

How to apply the modification of SumatraPDF.exe?

cd SumatraPDF && git apply ../QuickLook.Plugin.SumatraPDFReader.patch

How to install VS2022?

winget install --id "Microsoft.VisualStudio.2022.Community"  --version "17.10.0" --override "–installPath=""D:\Program Files (x86)\Visual Studio 2022"""

Thanks

https://github.com/sumatrapdfreader/sumatrapdf

https://github.com/marcoscmonteiro/SumatraPDFControl

Licenses

GPL-v3

This project references many other open-source projects. See here for the full list.

All source codes are licensed under GPL-3.0.

If you want to make any modification on these source codes while keeping new codes not protected by GPL-3.0, please contact me for a sublicense instead.

Related Skills

View on GitHub
GitHub Stars39
CategoryDevelopment
Updated4d ago
Forks1

Languages

C#

Security Score

90/100

Audited on Mar 26, 2026

No findings