From 4b55f566fcffd9bfc1699b9aac6b79e38acb2ad7 Mon Sep 17 00:00:00 2001 From: usoon Date: Tue, 17 Jan 2023 21:00:33 +0800 Subject: [PATCH] fix: reduce the timeout --- README.md | 7 +++++-- package.json | 2 +- public/index.ts | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 307279e..bd1bb6a 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,14 @@ A plugin for logseq to highlight the keyword in unlinked reference, and provide a button to automatically link them. +You can also highlight the refs and tags in linked references (**need to enable manually in the settings**). + #### Screenshot ![](image/screenshot.png) -You can also highlight the refs and tags in linked references (need to enable it in the settings). -![](image/linked.png) +Enable highlight in linked references. + +drawing #### Demo ![Demo](image/demo.gif) diff --git a/package.json b/package.json index 45d129c..4c6751d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "logseq-plugin-link-unlinked", - "version": "1.3.0", + "version": "1.3.1", "main": "dist/index.html", "logseq": { "title": "Link Unlinked References", diff --git a/public/index.ts b/public/index.ts index 587e041..53315be 100644 --- a/public/index.ts +++ b/public/index.ts @@ -172,7 +172,7 @@ async function main() { logseq.App.onRouteChanged(() => { setTimeout(async () => { await highlightLinked() - }, 500) + }, 100) }) let unlinkObserver, unlinkedRefsContainer