Skip to content

Commit 6775163

Browse files
danbevMylesBorins
authored andcommitted
doc: fix minor style issue in code examples
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 solution provided provided by silverwind and hiendv. Fixes: #9381 PR-URL: #9482 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
1 parent aa25c74 commit 6775163

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api_assets/style.css

+1
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ pre {
274274

275275
pre > code {
276276
font-size: .8em;
277+
padding: 0;
277278
}
278279

279280
pre + h3 {

0 commit comments

Comments
 (0)