Skip to content

Commit ada3e64

Browse files
committed
fix: adds plugin as link hover source
1 parent cd2142e commit ada3e64

File tree

3 files changed

+43
-74
lines changed

3 files changed

+43
-74
lines changed

package-lock.json

Lines changed: 37 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"leaflet-hotline": "^0.4.0",
5252
"mime": "^2.5.2",
5353
"mini-css-extract-plugin": "^2.1.0",
54-
"obsidian": "^0.13.30",
54+
"obsidian": "^1.1.1",
5555
"papaparse": "^5.3.0",
5656
"standard-version": "^9.3.2",
5757
"string-replace-loader": "^3.0.3",

src/main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,11 @@ export default class ObsidianLeaflet extends Plugin {
212212
})
213213
);
214214

215+
this.registerHoverLinkSource(this.manifest.id, {
216+
display: this.manifest.name,
217+
defaultMod: false
218+
});
219+
215220
this.addSettingTab(new ObsidianLeafletSettingTab(this.app, this));
216221
}
217222

0 commit comments

Comments
 (0)