mirror of
https://github.com/uglyboy-tl/obsidian-ink-player.git
synced 2026-07-22 05:42:02 +00:00
feat(plugin): register ink file extension
Add support for .ink files by registering them as markdown extensions
This commit is contained in:
parent
078e389803
commit
f375bda74d
1 changed files with 1 additions and 0 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue