From 6a7354b8fdb3a1ad3cf3a3bb4a601700cde854cc Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Sat, 30 Jul 2022 10:30:35 -0400 Subject: [PATCH] Update README.md Add Homebrew option for imagemagick and add syntax highlighting --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index eb39586..1600c4a 100644 --- a/README.md +++ b/README.md @@ -25,24 +25,24 @@ See the difference by disabling this optimization using the `-0` option. Or just ## Installation ### Build from source - - sudo apt install imagemagick || yum install ImageMagick - git clone https://github.com/stefanhaustein/TerminalImageViewer.git - cd TerminalImageViewer/src/main/cpp - make - sudo make install - +```sh +brew install imagemagick || yum install ImageMagick || sudo apt install imagemagick +git clone https://github.com/stefanhaustein/TerminalImageViewer.git +cd TerminalImageViewer/src/main/cpp +make +sudo make install +``` ### Homebrew Option 1: -``` +```sh brew install tiv ``` Option 2 (deprecated, for macOS Mojave and below): -``` +```sh brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer brew install terminalimageviewer ```