A tool to generate macOS QuickLook previews textual files

Latest Release: 1.0.1

 New Version

 

How to Use PreviewText

Install the app and run it. This will register the availability of the app’s QuickLook extensions, Text Previewer and Text Thumbnailer. You can now quit the app: just click OK:

The PreviewYaml app feedback mechanism

To use QuickLook in Finder, select a text file with no extension, or a text file with one of the following extensions — .1st, .asc, .log, .nfo, .srt or .sub — and press space. This will pop up a rendered preview of the file:

The PreviewYaml app feedback mechanism

You will also see such files previewd in Finder’s preview pane, enabled using View > Show Preview or by hitting Cmd-Shift-P, and in the Preview: section of Finder’s file info panel (select a file and hit Cmd-I).

You can disable or re-enable Text Previewer and/or Text Thumbnailer in System Preferences > Extensions:

The PreviewYaml app feedback mechanism

Customise the Preview

Open the Preferences panel from the main app’s PreviewText menu. This allows you to adjust some of the key elements of the preview:

  • The preview’s font and style.
  • The preview’s text size, from 10pt to 28pt.
  • The foreground and background colours.
  • Whether previews should be displayed dark-on-light even in macOS Dark Mode.
The PreviewYaml app feedback mechanism

Click Save to apply your choices.

Changing these settings will affect previews straight away.


Feedback and Bug Reports

You can use the main app to submit feedback. Just click in the Send Feedback button in the main window, or select Report a Bug… from the Help menu:

The PreviewYaml app feedback mechanism

Please include your email address if you would like a response. I can’t respond without one. Please see the privacy policy for details of email address usage.


Troubleshooting

PreviewText will not render .txt or .text files — these are handled by macOS’ built-in text-file previewer.

If files you know to be supported by PreviewText are not being rendered, check that Text Previewer and Text Thumbnailer are enabled in System Preferences > Extensions > QuickLook. If they are not displayed there, run the host app.

macOS Ventura may disable these extensions after OS and/or app updates, even though they were previously enabled. This action is believed to be a macOS bug.


Enjoyed Using PreviewText?

If you have found PreviewText to be useful, please consider writing a positive review on the Mac App Store, or simply give it a rating.

Thank you!


Source Code

You can view PreviewText’s source code at GitHub.


Release Notes

  • 1.0.1 21 January 2023
    • Fix issue with line-spacing (thanks @aaronkollasch).
    • Correctly preview line-spacing changes.
  • 1.0.0 23 December 2022
    • Initial public release.

Related Software


The Seal of RassilonThe Seal of Rassilon
Site and software copyright © 2023, Tony Smith