From d4b79b23ffa7fc8a8d4caa22a39c4e0fba5249e1 Mon Sep 17 00:00:00 2001 From: Joey Cozza Date: Thu, 21 Jul 2016 00:09:55 -0600 Subject: [PATCH] Path Documentation Syntax Fixes The single quote in the ```text area was causing the words after it to be orange, when that probably isn't what was wanted. This issue doesn't occur on github's markdown renderer, but it does exist on the Node official website's docs. This fix makes is so escaping a quote in a text block isnt necessary --- doc/api/path.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/path.md b/doc/api/path.md index fd07cd6802df9a..d977173596b8de 100644 --- a/doc/api/path.md +++ b/doc/api/path.md @@ -367,7 +367,7 @@ path.parse('/home/user/dir/file.txt') │ root │ │ name │ ext │ " / home/user/dir / file .txt " └──────┴──────────────┴──────┴─────┘ -(all spaces in the "" line should be ignored -- they're purely for formatting) +(all spaces in the "" line should be ignored -- they are purely for formatting) ``` On Windows: @@ -391,7 +391,7 @@ path.parse('C:\\path\\dir\\file.txt') │ root │ │ name │ ext │ " C:\ path\dir \ file .txt " └──────┴──────────────┴──────┴─────┘ -(all spaces in the "" line should be ignored -- they're purely for formatting) +(all spaces in the "" line should be ignored -- they are purely for formatting) ``` A [`TypeError`][] is thrown if `path` is not a string.