Fixed example code error in plugin docs

This commit is contained in:
Do-hyun Ko
2024-12-27 04:06:03 +09:00
committed by GitHub
parent c5f5786af7
commit 98ddb3fc0f

View File

@@ -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.
- `@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.