doc: improve EventEmitter md formatting (#19345)

This commit is contained in:
Shelley Vohr 2019-07-22 08:20:43 -07:00 committed by GitHub
parent 0490189531
commit 3395a1d4db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 34 additions and 20 deletions

View file

@ -14,8 +14,7 @@ If you want to show Notifications from a renderer process you should use the [HT
Process: [Main](../glossary.md#main-process)
`Notification` is an
[EventEmitter](https://nodejs.org/api/events.html#events_class_events_eventemitter).
`Notification` is an [EventEmitter][event-emitter].
It creates a new `Notification` with native properties as set by the `options`.
@ -125,3 +124,5 @@ or one of the following locations:
* `/System/Library/Sounds`
See the [`NSSound`](https://developer.apple.com/documentation/appkit/nssound) docs for more information.
[event-emitter]: https://nodejs.org/api/events.html#events_class_eventemitter