diff --git a/doc/api/vm.md b/doc/api/vm.md index 19ff922bcaf23d..6b144ccfc00cae 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -9,8 +9,10 @@ The `vm` module enables compiling and running code within V8 Virtual -Machine contexts. **The `vm` module is not a security mechanism. Do -not use it to run untrusted code.** +Machine contexts. + +The `vm` module is not a security +mechanism. Do not use it to run untrusted code. JavaScript code can be compiled and run immediately or compiled, saved, and run later. diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index 8b209ec0b59c6e..9ae45a09c84ca8 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -11,6 +11,7 @@ --red1: #d60027; --red2: #d50027; --red3: #ca5010; + --red4: #ff7070; --green1: #3e7a38; --green2: #5a8147; --green3: #64de64; @@ -29,6 +30,7 @@ --background-color-highlight: var(--white-smoke); --color-brand-primary: var(--gray6); --color-brand-secondary: var(--green1); + --color-critical: var(--red1); --color-fill-app: var(--white); --color-fill-side-nav: var(--gray6); --color-links: var(--green1); @@ -40,6 +42,7 @@ .dark-mode { --background-color-highlight: var(--black2); + --color-critical: var(--red4); --color-fill-app: var(--black1); --color-fill-side-nav: var(--black3); --color-links: var(--green5); @@ -165,6 +168,10 @@ em code { line-height: 1.5rem; } +.critical, .critical code { + color: var(--color-critical); +} + li.version-picker { position: relative; }