Skip to main content
added 61 characters in body
Source Link
Nimesh Neema
  • 52.9k
  • 25
  • 151
  • 212

You don't need any 3rd plugin plugins to viewQuick Look source code files/ASCII text files. Invoking QuickLookQuick Look by pressing the spacebar on JavaScript/CSS source code file which is encoded in(which are plain text ASCII encoded) will show you the plain source code text.

Here's what QuickLook shows when QuickLookinginvoking Quick Look on a JavaScript file named callback.js:

enter image description here

Installing QLColorCode using Homebrew by running brew cask install qlcolorcode and invoking QuickLookQuick Look on the same file immediately thereafter shows this color coded output:

enter image description here

Follow the installation instructions on the project homepage to make sure your installation is correcthave correctly installed the plugin:

This is a Quick Look plugin that renders source code with syntax highlighting, using the Highlight library.

To install Highlight, download the library manualy, or use homebrew brew install highlight

To install the plugin, just drag it to ~/Library/QuickLook. You may need to create that folder if it doesn't already exist.

Alternative, if you use Homebrew-Cask, install with brew cask install qlcolorcode.

You don't need any 3rd plugin plugins to view source code files. Invoking QuickLook by pressing the spacebar on JavaScript/CSS source code file which is encoded in plain text ASCII will show you the plain source code text.

Here's what QuickLook shows when QuickLooking a JavaScript file named callback.js:

enter image description here

Installing QLColorCode using Homebrew by running brew cask install qlcolorcode and invoking QuickLook on the same file immediately thereafter shows this:

enter image description here

Follow the installation instructions on the project homepage to make sure your installation is correct:

This is a Quick Look plugin that renders source code with syntax highlighting, using the Highlight library.

To install Highlight, download the library manualy, or use homebrew brew install highlight

To install the plugin, just drag it to ~/Library/QuickLook. You may need to create that folder if it doesn't already exist.

Alternative, if you use Homebrew-Cask, install with brew cask install qlcolorcode.

You don't need any 3rd plugin plugins to Quick Look source code/ASCII text files. Invoking Quick Look by pressing the spacebar on JavaScript/CSS source code file (which are plain text ASCII encoded) will show you the plain source code text.

Here's what QuickLook shows when invoking Quick Look on a JavaScript file named callback.js:

enter image description here

Installing QLColorCode using Homebrew by running brew cask install qlcolorcode and invoking Quick Look on the same file immediately thereafter shows this color coded output:

enter image description here

Follow the installation instructions on the project homepage to make sure your have correctly installed the plugin:

This is a Quick Look plugin that renders source code with syntax highlighting, using the Highlight library.

To install Highlight, download the library manualy, or use homebrew brew install highlight

To install the plugin, just drag it to ~/Library/QuickLook. You may need to create that folder if it doesn't already exist.

Alternative, if you use Homebrew-Cask, install with brew cask install qlcolorcode.

Source Link
Nimesh Neema
  • 52.9k
  • 25
  • 151
  • 212

You don't need any 3rd plugin plugins to view source code files. Invoking QuickLook by pressing the spacebar on JavaScript/CSS source code file which is encoded in plain text ASCII will show you the plain source code text.

Here's what QuickLook shows when QuickLooking a JavaScript file named callback.js:

enter image description here

Installing QLColorCode using Homebrew by running brew cask install qlcolorcode and invoking QuickLook on the same file immediately thereafter shows this:

enter image description here

Follow the installation instructions on the project homepage to make sure your installation is correct:

This is a Quick Look plugin that renders source code with syntax highlighting, using the Highlight library.

To install Highlight, download the library manualy, or use homebrew brew install highlight

To install the plugin, just drag it to ~/Library/QuickLook. You may need to create that folder if it doesn't already exist.

Alternative, if you use Homebrew-Cask, install with brew cask install qlcolorcode.