[Finder] Quick Look shows HTML files as plain text

Quicklook in the finder shows HTML files als plain text.


Is there any way to get a "rendered" view in the quick look?


It would be great, if such a rendered view would be possible even for PHP files, too.


Thanks for your help.

MacBook Pro with Retina display, macOS High Sierra (10.13)

Posted on Oct 13, 2017 2:38 AM

28 replies

Oct 13, 2017 11:37 AM in response to BobTheFisherman

@Bob

May be you missunderstand my wish.


The intention of quick look in the finder is nothing else, than to avoid to open the file in another application.


Therefore I just need a methode (plugin?) to let quick look show "rendered" html.

Like quick look "renders" a photo instead of showing the bits.

Oct 13, 2017 12:13 PM in response to etresoft

@etresoft

Do you talk about the app "quick look" or about the "quick look" function in the finder?


I just tried to open a html file in the app "quick look". That file type is greyed. It cannot be opened.


Do you have a screenshot please, which shows that your finder "renders" a html file in the quick look pane?


About PHP:
Sorry, it is my fault, that I have been missunderstood.

I just like those files (*.php) show like html files. In other words: without the php code.

Oct 13, 2017 12:58 PM in response to dialabrain

@dialabrain

Thanks for the screenshot.

The window on the right shows the app "quick look", correct?


I covers the window of the finder. Is the html shown in the finder at the right pane as well please?


Really strange, that my finder and the finder of some other writers in this thread only shows plain text.


I can't remember, that I've changed anything in the settings of quick look.

Oct 14, 2017 2:14 AM in response to Luis Sequeira1

@Luis
OK, when the pane inside the finder is not called "quick look in the finder", how is it called correctly please?


My wish is to use that pane inside the finder and not the app "Quick look".
The intention of that pane is (I guess) to get a fast preview without any further step or new window.

Oct 14, 2017 2:06 PM in response to dialabrain

dialabrain wrote:


FWIW, you can call it "Finder Preview" or "Finder Preview Pane". QuickLook is just that. No need to say QuickLook app.


And no, you cannot render HTML files in the Finder Preview Pane.

Thanks for those helpful informations. What a pity, that it is impossible to render HTML files in the Finder Preview Pane. I don't understand the motives Apple why it is like that. HTML is an important standard file format. Bad luck for me.

Oct 14, 2017 2:55 PM in response to dialabrain

OK, again my fault.
I thought Quick Look is the same like "Vorschau".
Now I see, that Quick Look is a different function.


I always thought, that Quick Look is the rendered content of "Preview.app" (now I know the correct name in English) inside the finder preview pane.

Oct 14, 2017 11:44 PM in response to etresoft

@etresoft
I'm sorry for the confusion. I tried to resolve everything in my last posts.


May be you still missunderstand my wish from my first post:
I only talk about the preview pane in the finder (and not about the Quick Look window which appears after pressing the spacebar). It was my fault that I missused the term "Quick Look".


What you call "correct" is a thumbnail and not - for TXT or JPG files as example - a real preview.
In my humble opinion it is a bug.


Where Quick Look is able to render a content that content should be shown fully in the finder preview pane.
Everything else is a lack of consistency.


What do you think?

Oct 16, 2017 12:51 AM in response to FlanklyIm

Thanks for your comments.


Because the rendering process in the quick look window (spacebar) of those single files is so fast, that I cannot recognize any delay, I don't see any good reason to display a thumbnail instead of the "quick look content" inside the finder preview bar.


About CSS:
Quick Look uses it. I inserted a simple rule into the test case, I posted before.


If someone likes to reproduce it:
Dropbox - lorem.html


About scrolling:
If that is really impossible (didn't tested it yet) in the finder preview pane, I regard that as a usability bug.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

[Finder] Quick Look shows HTML files as plain text

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.