You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -41,20 +41,20 @@ You can install the application in various ways. When the main application is la
41
41
After installation, _the application must be launched at least once to allow the system to detect the Quick Look extension_. [See below](#enable-the-quick-look-extension) for instructions on how to enable the Quick Look extension.
42
42
43
43
### Download precompiled release
44
-
Head over to the [releases](https://github.com/sbarex/SourceCodeSyntaxHighlight/releases) page to view the latest version. Move the `Syntax Highlight.app` into the `Applications` folder.
44
+
Head over to the [releases](https://github.com/sbarex/SourceCodeSyntaxHighlight/releases) page to view the latest version. Move `Syntax Highlight.app` into the `Applications` folder.
45
45
46
46
### Install with Homebrew Cask
47
47
Syntax Highlight can also be installed via [Homebrew Cask](https://github.com/Homebrew/homebrew-cask). If you have not installed Homebrew, follow the simple instructions [here](https://brew.sh/). After that, run `brew install --cask --no-quarantine syntax-highlight` to install the current version of Syntax Highlight.
48
48
49
49
### Note for the precompiled release
50
50
The [precompiled app](https://github.com/sbarex/SourceCodeSyntaxHighlight/releases) is not notarized or signed, so the first time you run the app the system may show a warning about the impossibility to check for malicious software.
51
51
52
-
To fix, you can launch the app with rightclick (or ctrl click) on the app icon and choose the open action.
52
+
To fix, you can launch the app with right-click (or Control-click) on the app icon and choose the open action.
53
53
54
54
You can also execute this command from the terminal:
55
55
56
56
```
57
-
$ xattr -r -d com.apple.quarantine "FULL PATH OF THE Syntax Highlight.app (you can drag the file to get the pull path)"
57
+
$ xattr -r -d com.apple.quarantine "FULL PATH OF Syntax Highlight.app (you can drag the file to get the pull path)"
58
58
```
59
59
60
60
Alternatively, after trying to launch the app for the first time, you can open the `System Preferences > Security & Privacy > General (tab)` and click the `Open Anyway` button.
@@ -63,7 +63,7 @@ This will resolve the error of an unsigned application when launching the app.
63
63
64
64
### Build from source
65
65
66
-
The release application is compiled as universal binary (Intel and Apple Silicon processor).
66
+
The release application is compiled as a universal binary (Intel and Apple silicon processor).
67
67
68
68
After cloning remember to fetch submodules:
69
69
@@ -82,7 +82,7 @@ When opening the app _for the first time_, you may see a pop-up warning about un
82
82
To fix follow these steps:
83
83
84
84
- Switch to Finder and navigate to the application.
85
-
- Rightclick (or ctrl click) `Syntax Highlight.app` and choose the `Open` item from the contextual menu.
85
+
- Right-click (or Control-click) `Syntax Highlight.app` and choose the `Open` item from the contextual menu.
86
86
- A modal popup appears stating:
87
87
> "Syntax Highlight.app" can’t be opened because Apple cannot check it for malicious software.
88
88
- Click `Open` to confirm.
@@ -96,9 +96,9 @@ For more info see the [note for the precompiled release](#note-for-the-precompil
96
96
The Quick Look Extension uses the [Uniform Type Identifier (UTI)](https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_intro/understand_utis_intro.html) to handle the supported formats (and not simply the file name extension).
97
97
Inside the definition on an UTI there are the list of extensions and mime type associated with it.
98
98
99
-
Some file types are directly associated to an UTI by the system. Other formats are registered by the owner application. In this way some extensions can be associated to multiple UTIs based on the applications currently installed. For this reason, this application supports many UTIs even if they are apparently redundant.
99
+
Some file types are directly associated to a UTI by the system. Other formats are registered by the owner application. In this way some extensions can be associated to multiple UTIs based on the applications currently installed. For this reason, this application supports many UTIs even if they are apparently redundant.
100
100
101
-
_**MacOS 10.15 Catalina does not** allow to manage some file formats including (but not limited to):_`.xml`, `.plist`, `.html`, `.ts`, `.dart`, '.txt', common images (`.jpg`, `.gif`, `.png`), …
101
+
_**MacOS 10.15 Catalina does not** allow to manage some file formats including (but not limited to):_`.xml`, `.plist`, `.html`, `.ts`, `.dart`, `.txt`, common images (`.jpg`, `.gif`, `.png`), …
102
102
103
103
On _**macOS 11 Big Sur**, the system allows you to manage these previously unauthorized extensions:_`.plist`.
104
104
@@ -122,15 +122,15 @@ The application can also handle some [plain files](#plain-files) without extensi
@@ -350,7 +350,7 @@ For text files, syntax highlighting is tried.
350
350
351
351
You can specify a criteria for the file name and the mime type to apply a syntax highlighting and/or a specific display format. The criteria are evaluated in the order in which they are set.
352
352
353
-
If not display format is set, the system will try to derive it starting from the mime type.
353
+
If no display format is set, the system will try to derive it starting from the mime type.
354
354
355
355
Note that some files with no extension can be recognized by macOS with a UTI if they have the `com.apple.FinderInfo` extended attributed set.
0 commit comments