diff --git a/pages/en/about/index.md b/pages/en/about/index.mdx similarity index 95% rename from pages/en/about/index.md rename to pages/en/about/index.mdx index edba38b1991a8..45eefe5dfeb35 100644 --- a/pages/en/about/index.md +++ b/pages/en/about/index.mdx @@ -3,6 +3,12 @@ title: About Node.js® layout: about.hbs --- +
+ +
+ +--- + # About Node.js® As an asynchronous event-driven JavaScript runtime, Node.js is designed to build diff --git a/pages/en/learn/diagnostics/flame-graphs.md b/pages/en/learn/diagnostics/flame-graphs.md index c0cb4aabcaa94..2ae9e140aed2e 100644 --- a/pages/en/learn/diagnostics/flame-graphs.md +++ b/pages/en/learn/diagnostics/flame-graphs.md @@ -34,7 +34,7 @@ Now let's get to work. 2. Try running `perf` - it might complain about missing kernel modules, install them too 3. Run node with perf enabled (see [perf output issues](#perf-output-issues) for tips specific to Node.js versions) - ```bash + ``` perf record -e cycles:u -g -- node --perf-basic-prof app.js ``` diff --git a/public/static/images/node-mascot.svg b/public/static/images/node-mascot.svg new file mode 100644 index 0000000000000..6ff1c239614cd --- /dev/null +++ b/public/static/images/node-mascot.svg @@ -0,0 +1,664 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/styles/new/markdown.css b/styles/new/markdown.css index edacfe41522d4..ba41ed0a200e0 100644 --- a/styles/new/markdown.css +++ b/styles/new/markdown.css @@ -90,6 +90,10 @@ main { leading-6 text-neutral-900 dark:text-white; + + li div:has(> pre) { + @apply !my-1; + } } ol { @@ -98,6 +102,10 @@ main { leading-6 text-neutral-900 dark:text-white; + + li div:has(> pre) { + @apply !my-1; + } } table { diff --git a/styles/old/index.css b/styles/old/index.css index db404b51c1820..bc647dcc27ea7 100644 --- a/styles/old/index.css +++ b/styles/old/index.css @@ -1,5 +1,7 @@ @charset "utf-8"; +@import 'tailwindcss/utilities'; + @import 'variables'; @import 'base'; @import 'utils';