diff doc/src/api/event/onTopic.md @ 614:ebdc614db066

Docs: get rid of metadata
author David Demelier <markand@malikania.fr>
date Sun, 17 Dec 2017 09:21:49 +0100
parents bb9771fb5f44
children
line wrap: on
line diff
--- a/doc/src/api/event/onTopic.md	Fri Dec 15 17:08:01 2017 +0100
+++ b/doc/src/api/event/onTopic.md	Sun Dec 17 09:21:49 2017 +0100
@@ -1,11 +1,16 @@
----
-event: onTopic
-js: true
-summary: "This event is triggered when someone changed the channel's topic."
-synopsis: "function onTopic(server, origin, channel, topic)"
-arguments:
-  - "**server**: the current server,"
-  - "**origin**: the person who changed the topic,"
-  - "**channel**: the channel,"
-  - "**topic**: the new topic (may be empty)."
----
+# Event onTopic
+
+This event is triggered when someone changed the channel's topic.
+
+# Synopsis
+
+```javascript
+function onTopic(server, origin, channel, topic)
+```
+
+# Arguments
+
+  - **server**: the current server,
+  - **origin**: the person who changed the topic,
+  - **channel**: the channel,
+  - **topic**: the new topic (may be empty).