Skip to content

Commit

Permalink
Merge pull request #1963 from mikecat/plugin-ruby-hiragana
Browse files Browse the repository at this point in the history
plugins.md 内のヨミガナをひらがなに変更
  • Loading branch information
kujirahand authored Feb 22, 2025
2 parents dfa2b82 + 1383eb0 commit c73cc29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default {

```js
{
'関数名': { // @関数の説明 // @ヨミガナ
'関数名': { // @関数の説明 // @よみがな
type: 'func', // 関数であれば func にする
josi: [['', 'から'], ['まで']], // 助詞を配列で宣言する (可変長引数として扱いたい助詞は末尾で宣言する)
isVariableJosi: false, // 末尾の助詞を可変長引数として扱う場合 true にする
Expand All @@ -101,15 +101,15 @@ export default {
typeプロパティに「const」を指定して、valueプロパティに値を指定する。

```js
{ type: 'const', value: 100 } // @ヨミガナ
{ type: 'const', value: 100 } // @よみがな
```

### 定義:変数

typeプロパティに「var」を指定して、valueプロパティに値を指定する。

```js
{ type: 'var', value: 100 } // @ヨミガナ
{ type: 'var', value: 100 } // @よみがな
```

### プラグインの自動登録
Expand Down

0 comments on commit c73cc29

Please sign in to comment.