Title: Code folding, or priority of Quicklook generators · Issue #341 · sbarex/SourceCodeSyntaxHighlight · GitHub
Open Graph Title: Code folding, or priority of Quicklook generators · Issue #341 · sbarex/SourceCodeSyntaxHighlight
X Title: Code folding, or priority of Quicklook generators · Issue #341 · sbarex/SourceCodeSyntaxHighlight
Description: Recently, I installed QLJSON. It works when Syntax Highlight is disabled, but when it is re-enabled, it takes precedence over JSON previews. So my first question is: Is there a way to determine which generator has priority for given UTIs...
Open Graph Description: Recently, I installed QLJSON. It works when Syntax Highlight is disabled, but when it is re-enabled, it takes precedence over JSON previews. So my first question is: Is there a way to determine whi...
X Description: Recently, I installed QLJSON. It works when Syntax Highlight is disabled, but when it is re-enabled, it takes precedence over JSON previews. So my first question is: Is there a way to determine whi...
Opengraph URL: https://github.com/sbarex/SourceCodeSyntaxHighlight/issues/341
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Code folding, or priority of Quicklook generators","articleBody":"Recently, I installed [QLJSON](https://github.com/relikd/QLJSON). It works when Syntax Highlight is disabled, but when it is re-enabled, it takes precedence over JSON previews.\n\nSo my first question is: Is there a way to determine which generator has priority for given UTIs?\n\nFor my second question, a prelude: QLJSON pretty-prints JSON (which can also be achieved with this generator by running `jq` as a preprocessor), and it has support for folding, i.e. it shows markers that collapse/expand JSON objects/arrays. Could this be implemented for Syntax Highlight as well (this could also be used for source code files, collapse/expand class/function declarations, or loops)?\n\n(somewhat related to #191).","author":{"url":"https://github.com/wltb","@type":"Person","name":"wltb"},"datePublished":"2026-01-15T12:29:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/341/SourceCodeSyntaxHighlight/issues/341"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5f2a9e53-0245-cc9e-d87d-ec72e05edc83 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5EE:194E56:A55EC4:E3889F:698EFF73 |
| html-safe-nonce | da9ee5f7b9ef94ec9ffc5679a4f848371ed9bd5cea79742ba4ce2ee940e70ead |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUVFOjE5NEU1NjpBNTVFQzQ6RTM4ODlGOjY5OEVGRjczIiwidmlzaXRvcl9pZCI6IjU3NzIxMDQxNDk3MDIyMTM0OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bada36e26710feefa322c02888442fd53ed2eb5bde68ec7775236c1af4a62c07 |
| hovercard-subject-tag | issue:3817334644 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sbarex/SourceCodeSyntaxHighlight/341/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4aa1b6be2203a19f289b6c478b19b1a3637de4b1b605df8a818c4c4d74a0c619/sbarex/SourceCodeSyntaxHighlight/issues/341 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4aa1b6be2203a19f289b6c478b19b1a3637de4b1b605df8a818c4c4d74a0c619/sbarex/SourceCodeSyntaxHighlight/issues/341 |
| og:image:alt | Recently, I installed QLJSON. It works when Syntax Highlight is disabled, but when it is re-enabled, it takes precedence over JSON previews. So my first question is: Is there a way to determine whi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wltb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f7bf82d8907f81525d95af82e60354b419d083df9534c8631d06bb9c0bf07ac |
| turbo-cache-control | no-preview |
| go-import | github.com/sbarex/SourceCodeSyntaxHighlight git https://github.com/sbarex/SourceCodeSyntaxHighlight.git |
| octolytics-dimension-user_id | 1948940 |
| octolytics-dimension-user_login | sbarex |
| octolytics-dimension-repository_id | 216405620 |
| octolytics-dimension-repository_nwo | sbarex/SourceCodeSyntaxHighlight |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 216405620 |
| octolytics-dimension-repository_network_root_nwo | sbarex/SourceCodeSyntaxHighlight |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 29d97d94d5b31f96c01179273264722362f058e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width