feat(plugin): register ink file extension

Add support for .ink files by registering them as markdown extensions
This commit is contained in:
Uglyboy 2026-04-08 08:59:09 +08:00
parent 078e389803
commit f375bda74d

View file

@ -23,6 +23,7 @@ export default class InkWeavePlugin extends Plugin {
this.i18n = new I18n();
this.registerView(VIEW_TYPE, (leaf) => new StoryView(leaf));
this.registerExtensions(["ink"], "markdown");
setupCommands(this);
features.forEach((f) => {