doc: fix path markdown formatting · nodejs/node@65a42ab

Original file line numberDiff line numberDiff line change

@@ -367,7 +367,7 @@ path.parse('/home/user/dir/file.txt')

367367

│ root │ │ name │ ext │

368368

" / home/user/dir / file .txt "

369369

└──────┴──────────────┴──────┴─────┘

370-

(all spaces in the "" line should be ignored -- they're purely for formatting)

370+

(all spaces in the "" line should be ignored -- they are purely for formatting)

371371

```

372372
373373

On Windows:

@@ -391,7 +391,7 @@ path.parse('C:\\path\\dir\\file.txt')

391391

│ root │ │ name │ ext │

392392

" C:\ path\dir \ file .txt "

393393

└──────┴──────────────┴──────┴─────┘

394-

(all spaces in the "" line should be ignored -- they're purely for formatting)

394+

(all spaces in the "" line should be ignored -- they are purely for formatting)

395395

```

396396
397397

A [`TypeError`][] is thrown if `path` is not a string.