idea is if we click on #project, it should open page project not tag:project
Objects tagged with project can be displayed below like Linked Mentions
Problem: there will be too many tags
I am new user so I am not sure if its good idea
idea is if we click on #project, it should open page project not tag:project
Objects tagged with project can be displayed below like Linked Mentions
Problem: there will be too many tags
I am new user so I am not sure if its good idea
You could use a similar hack to this one, to navigate the user to your desired page, once they click on a tag and are navigated to tag:whatever
local function tagRedirectToPage()
currentPage = editor.getCurrentPage()
if string.startsWith(currentPage, "tag:") then
editor.navigate({kind = "page", page = string.sub(currentPage, 5, (string.len(currentPage)))})
end
end
event.listen {
name = "editor:init",
run = tagRedirectToPage
}
event.listen {
name = "editor:pageLoaded",
run = tagRedirectToPage
}
Redirection works, but i have no idea how to implement Objects tagged with project from Library/Std/Tag
You can see the linked mentions implementation here. It’s purely (The snipped extraction is not done in space lua) Space Lua, so something similar should be just as simple to implement.