Skip to content

Commit b58920c

Browse files
tniessentargos
authored andcommitted
doc: remove markdown link from heading
This is the only instance of such a link and it is rendered incorrectly in the TOC. PR-URL: #47585 Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent c36634e commit b58920c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/permissions.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ The following example, would allow access to `fs` for all `data:` resources:
388388
}
389389
```
390390

391-
##### Example: [import maps][] emulation
391+
##### Example: import maps emulation
392392

393393
Given an import map:
394394

@@ -425,7 +425,7 @@ Given an import map:
425425
}
426426
```
427427

428-
Import maps assume you can get any resource by default. This means
428+
[Import maps][] assume you can get any resource by default. This means
429429
`"dependencies"` at the top level of the policy should be set to `true`.
430430
Policies require this to be opt-in since it enables all resources of the
431431
application cross linkage which doesn't make sense for many scenarios. They also
@@ -547,13 +547,13 @@ There are constraints you need to know before using this system:
547547
write access.
548548
* Permission changes are not retroactively applied to existing resources.
549549

550+
[Import maps]: https://url.spec.whatwg.org/#relative-url-with-fragment-string
550551
[Security Policy]: https://github.com/nodejs/node/blob/main/SECURITY.md
551552
[`--allow-child-process`]: cli.md#--allow-child-process
552553
[`--allow-fs-read`]: cli.md#--allow-fs-read
553554
[`--allow-fs-write`]: cli.md#--allow-fs-write
554555
[`--allow-worker`]: cli.md#--allow-worker
555556
[`--experimental-permission`]: cli.md#--experimental-permission
556557
[`permission.has()`]: process.md#processpermissionhasscope-reference
557-
[import maps]: https://url.spec.whatwg.org/#relative-url-with-fragment-string
558558
[relative-url string]: https://url.spec.whatwg.org/#relative-url-with-fragment-string
559559
[special schemes]: https://url.spec.whatwg.org/#special-scheme

0 commit comments

Comments
 (0)