Skip to content

Commit a6115b1

Browse files
authored
Fix JSON comments highlighting in SE-0391 (#2206)
JSON comments are only supported in JSON 5. We should make code blocks using comments with `json5` explicitly to fix syntax highlighting for those.
1 parent c68da7d commit a6115b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proposals/0391-package-registry-publish.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Users will be able to configure how SwiftPM handles packages downloaded from a
256256
registry. In the user-level `registries.json` file, which by default is located at
257257
`~/.swiftpm/configuration/registries.json`, we will introduce a new `security` key:
258258

259-
```json
259+
```json5
260260
{
261261
"security": {
262262
"default": {
@@ -511,7 +511,7 @@ described in this document.
511511
If the package release is signed, the registry must include a `signing` JSON
512512
object in the response:
513513

514-
```json
514+
```json5
515515
{
516516
"id": "mona.LinkedList",
517517
"version": "1.1.1",
@@ -675,7 +675,7 @@ direct and transitive dependencies across the ecosystem much faster than a
675675
local-only TOFU without requiring a centralized database/service to vend
676676
this information.
677677

678-
```json
678+
```json5
679679
{
680680
"pins": [
681681
{

0 commit comments

Comments
 (0)