You've already forked obsidian-visualiser
Tests connexion
This commit is contained in:
@@ -116,7 +116,7 @@ function hidePreview(e: Event) {
|
||||
}
|
||||
</script>
|
||||
|
||||
<template >
|
||||
<template>
|
||||
<template v-if="href !== ''">
|
||||
<a @mouseenter="(e) => showPreview(e, true)" @mouseleave="hidePreview" v-bind="$attrs"
|
||||
:href="stringifyParsedURL({ host: '/explorer', pathname: (content?._path ?? href) + (isTag && anchor ? '/' + anchor.substring(1) : ''), hash: !isTag ? anchor : '', search: '' })"
|
||||
@@ -160,7 +160,7 @@ function hidePreview(e: Event) {
|
||||
</div>
|
||||
</Teleport>
|
||||
</template>
|
||||
<a v-bind="$attrs" :href="href" :target="target" v-else>
|
||||
<NuxtLink v-bind="$attrs" :to="href" v-else>
|
||||
<slot></slot>
|
||||
</a>
|
||||
</NuxtLink>
|
||||
</template>
|
||||
Reference in New Issue
Block a user