Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix plugins example color

Chocobozzzb044cb188d1a
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index 81999bf326..17c681afd7 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -633,7 +633,7 @@ async function register ({ registerSettingsScript }) {
PeerTube provides some HTML id so plugins can easily insert their own element:
-```
+```js
async function register (...) {
const elem = document.createElement('div')
elem.className = 'hello-world-h4'