How to make Mac OS QuickLook display the content of text files

While browsing files in Finder, if you want QuickLook to display the contents of the any text (txt, json, xml, md and etc.) files, you should run the following commands in your terminal:

** I am assuming you have Homebrew installed.

brew cask install qlstephen
brew cask install qlcolorcode

2 Responses to “How to make Mac OS QuickLook display the content of text files”

  1. John Marohn Says:

    It should say “brew cask”, not “brew cast”.

  2. Luciano Sampaio Martins de Souza Says:

    Thanks! I fixed it.

Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.