summaryrefslogtreecommitdiff
path: root/doc/STYLE_GUIDE.md
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2017-06-17 16:09:54 -0400
committerRefael Ackermann <refack@gmail.com>2017-06-23 15:21:54 -0400
commite3ea0fc97bf3a911463275446024b50e8bae865f (patch)
treee056044bee9f0ecea22a23f53574bd5bb648f7a6 /doc/STYLE_GUIDE.md
parentb61f0a67412ba4cf46a123ad262c34dae4986ecb (diff)
downloadandroid-node-v8-e3ea0fc97bf3a911463275446024b50e8bae865f.tar.gz
android-node-v8-e3ea0fc97bf3a911463275446024b50e8bae865f.tar.bz2
android-node-v8-e3ea0fc97bf3a911463275446024b50e8bae865f.zip
doc: update backporting guide
* also update STYLE_GUIDE comment about Em dashes PR-URL: https://github.com/nodejs/node/pull/13749 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'doc/STYLE_GUIDE.md')
-rw-r--r--doc/STYLE_GUIDE.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/STYLE_GUIDE.md b/doc/STYLE_GUIDE.md
index efc997f185..34879c1c7c 100644
--- a/doc/STYLE_GUIDE.md
+++ b/doc/STYLE_GUIDE.md
@@ -40,8 +40,8 @@
* 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 ("—", Option+Shift+"-" on macOS) surrounded by
- spaces, per the New York Times usage.
+* When using dashes, use [Em dashes][] ("—" or `Option+Shift+"-"` on macOS)
+ surrounded by spaces, as per [The New York Times Manual of Style and Usage][].
* Including assets:
* If you wish to add an illustration or full program, add it to the
appropriate sub-directory in the `assets/` dir.
@@ -68,3 +68,5 @@
[plugin]: http://editorconfig.org/#download
[Oxford comma]: https://en.wikipedia.org/wiki/Serial_comma
+[Em dashes]: https://en.wikipedia.org/wiki/Dash#Em_dash
+[The New York Times Manual of Style and Usage]: https://en.wikipedia.org/wiki/The_New_York_Times_Manual_of_Style_and_Usage