Skip to content

Commit

Permalink
doc: remove markdown link from heading
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
tniessen authored and targos committed May 2, 2023
1 parent c36634e commit b58920c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ The following example, would allow access to `fs` for all `data:` resources:
}
```

##### Example: [import maps][] emulation
##### Example: import maps emulation

Given an import map:

Expand Down Expand Up @@ -425,7 +425,7 @@ Given an import map:
}
```

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

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

0 comments on commit b58920c

Please sign in to comment.