From 5f872529691b0e520d72a64176d90796f8320151 Mon Sep 17 00:00:00 2001 From: Alexey Orlenko Date: Sun, 21 May 2017 01:02:00 +0300 Subject: [PATCH] doc: fix incorrect keyboard shortcut This commit fixes an incorrect keyboard shortcut in `doc/STYLE_GUIDE.md`: entering em-dashes is done via Alt+Shift+"-" on macOS, not via Ctrl+Alt+"-". Besides that, Option is more canonical name of Alt on Macs. PR-URL: https://github.com/nodejs/node/pull/13134 Reviewed-By: Rich Trott Reviewed-By: Colin Ihrig Reviewed-By: Daijiro Wachi Reviewed-By: Luigi Pinca Reviewed-By: Michael Dawson Reviewed-By: Gibson Fahnestock --- doc/STYLE_GUIDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/STYLE_GUIDE.md b/doc/STYLE_GUIDE.md index 0d3fc00107..f11c5c0523 100644 --- a/doc/STYLE_GUIDE.md +++ b/doc/STYLE_GUIDE.md @@ -39,7 +39,7 @@ * When documenting APIs, note the version the API was introduced in at the end of the section. If an API has been deprecated, also note the first version that the API appeared deprecated in. -* When using dashes, use emdashes ("—", Ctrl+Alt+"-" on macOS) surrounded by +* When using dashes, use emdashes ("—", Option+Shift+"-" on macOS) surrounded by spaces, per the New York Times usage. * Including assets: * If you wish to add an illustration or full program, add it to the