From 98ddb3fc0fb0177cc3dec629b8221f1df9964902 Mon Sep 17 00:00:00 2001 From: Do-hyun Ko Date: Fri, 27 Dec 2024 04:06:03 +0900 Subject: [PATCH] Fixed example code error in plugin docs --- plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins.md b/plugins.md index f29edbc6..854e28b0 100644 --- a/plugins.md +++ b/plugins.md @@ -9,7 +9,7 @@ A plugin is a js file with a header. for example: ```js //@name exampleplugin -//display-name: Example Plugin +//@display-name Example Plugin // Plugin code here ``` @@ -163,4 +163,4 @@ The plugin system has been updated to V2. The following changes have been made: - `addCharaJs` function has been removed. use `addRisuScriptHandler` instead. - `risuLog` function has been removed. use `console.log` instead. - Many security restrictions have been removed. - - `@risu-name`, `@risu-display-name`, `@risu-arg` headers has been removed. use `@name`, `@display-name`, `@arg` instead. if it's not present, it will be ran as V1 plugin. \ No newline at end of file + - `@risu-name`, `@risu-display-name`, `@risu-arg` headers has been removed. use `@name`, `@display-name`, `@arg` instead. if it's not present, it will be ran as V1 plugin.