https://github.com/tadashi-aikawa/obsidian-various-complements-plugin/issues/196 以下のように実装してみたが、==絵文字から始まる候補の場合だけうまくいかない==。 ```ts if (word.type === "internalLink") { insertedText = this.constructInternalLinkText(word); const currentLine = this.appHelper.getCurrentLine(this.context.editor); if ( insertedText.startsWith("[[") && currentLine .slice(this.contextStartCh + word.offset! - 2) .slice(0, 2) === "[[" ) { insertedText = insertedText.slice(2); } if ( insertedText.endsWith("]]") && currentLine.slice(this.context.end.ch).slice(0, 2) === "]]" ) { insertedText = insertedText.slice(0, -2); } } ``` 理由はおそらくalias関係かなと思っている。絵文字の先頭は除外されたりするので... t分。一旦保留。