Skip to content

doc: fix minor style issue in code examples

Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

Description of change

I've noticed that a few of the code examples have an minor indentation issue with the first line, for example: https://nodejs.org/api/child_process.html#child_process_child_process

This commit attempt to fix this issue by using the suggestion provided by Brain White which is to add a separate style for code with a padding-right and padding-left of .0em.

Fixes: https://github.com/nodejs/node/issues/9381

Merge request reports

Loading