I am a Computer Science student at Florida State University.
I am a Software Developer, Minecraft Modder, and Indie Game Developer.
An Obsidian plugin that renders links in a note's frontmatter as links.
License: MIT License
I am a Computer Science student at Florida State University.
I am a Software Developer, Minecraft Modder, and Indie Game Developer.
If you create a new note from an internal link, the source note has inserted at the top:
I saw you're in the midst of finals, so understandable not to get to this for awhile.
My vault has a lot of wikilinks in frontmatter but not enclosed in quotes.
For example:
---
child: [ [[Work]], [[Notetaking]], [[Cognitive Biases]] ]
---
It'd be great if the plugin also converted those to links, like it can with https links not enclosed in quotes.
After updating this plug in I could not open my vault. I checked the console and there were error messages related to it. I removed it from .obsidian and the vault loaded without a problem. I had 1.2.5
Links in the frontmatter don't show in the backlinks tab
First, thanks for the plugin. Does almost exactly what I was hoping for!
I've noticed that adding internal links doesn't get registered in the "Linked mentions". I would love if it would do so.
I've found this: obsidianmd/obsidian-api#33, might be useful here.
I discovered that this plugin is the only responsible for a huge delay in the startup of Obsidian in my computer. I deleted the plugin and the startup went back to normal again. Hoping for an update to fix the issue, this is a very important plugin for me! thanks
I'm using obsidian 1.5.3 desktop along other 20 community plugins, it took me a lot to debug what was happening, disabling one by one and restarting obsidian.
When this plugin was enabled my obsidian takes around 60 seconds to start, stuck on loading cache, when disabled and the other 19 plugins enabled it takes 2 seconds, without any plugin enabled it takes like 500ms to start.
So clearly this plugin has a problem with the cache.
Thanks in advance.
Hello ;
On my vault, the plugin will add a big loading time during the cache reading.
After this, Obsidian will ALWAYS reindex the vault.
This bug appear on Mobile and PC, vault is sync using Obsidian Sync.
I tryed with every plugin disabled, keeping only frontmatter links, and the issue persist.
Note : My vault contains around 300 notes, with PDF, image, js files...
SYSTEM INFO:
Obsidian version: v1.0.3
Installer version: v1.0.3
Operating system: Windows 10 Education 10.0.22623
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: light
Community theme: AnuPpuccin
Snippets enabled: 31
Restricted mode: off
Plugins installed: 87
Plugins enabled: 3
1: Banners v1.3.3
2: Divide & Conquer v1.0.0
3: Frontmatter Links v1.2.6
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Currently, Wikilink is in citation format, but the bracket name allows us to determine that it is Wikilink, so could you please make it so that it is linked even if it is not in citation format?
"[[Wikilink]]" โ [[Wikilink]]
Hey all,
Thank you for all the support since I've made this plug-in. You may have noticed that I haven't updated this plug-in in quite a while. That's because I โ gasp โ stopped using Obsidian. But, I'm back now!
It has come to my attention recently that Obsidan had a massive update to the way it handles properties. And I absolutely love it!!! It fixes all of the issues that this plug-in was made for, for me. Specifically it makes using the frontmatter properties easier, allows placing links in frontmatter that renders properly, and adds these links to the graph view. Because of this, I personally have no need for this plug-in anymore.
However, I know that some people still use this plug-in and would not like to see it abandoned. So it won't be.
In the next few weeks I plan on simplifying the code and features this plug-in provides to make it work well with the new update. I plan on only keeping the core purpose of this plug-in: making links in YAML frontmatter render like links and click-able. It will not modify the new properties view at all.
Because I personally will not be using this plug-in anymore, I also want to ask if anyone is interested in maintaining this plug-in in the future. This plug-in is very low on my priority list and I have very little motivation to work on it. However, I've seen some people have made pull requests and responded to issues in my absence. If any of you want to become a maintainer, just ask here on this issue.
Thank you for reading
Right now, Obsidian doesn't recognize links in the frontmatter and doesn't add them to the graph.
I don't need this right now, but definitely want to implement it.
Asking around on how to add links to the graph, I was given a link to nothingislost's obsidian-auto-linker plugin by boninall#8661 on discord as a lead.
Would be nice to be able to render links when viewing the file in "Reading" mode ..
---
url: https://google.com
---
is a valid YAML frontmatter and links should work as well
If a link is in a note's frontmatter with the key tandem
, then that link should automatically open in an adjacent pane.
This is inspired by this discord conversation where jacob#2434 was looking for a plugin to do just that.
I think this would fit with this plugin, especially if mode involved features like #3 are added.
When the cursor is near a link, Obsidian renders parts of the link differently.
It does this by splitting the link into different html elements with different classes.
This seems a little overkill right now, so I don't intend to implement it anytime soon. However, it would make the plugin feel a smidge nicer and more built-in to the app
Hello,
thanks for this.
Would it be possible to have a list of links like this?
---
link: [http://hello.com, http://www.bye.com]
---
Thanks for this plugin!
Is there a way to have multiple links in one line?
E.g.
Author: "[[Stephen King]]", "[[J.R.R. Tolkien]]"
This works as far as the plugin is concerned, I think, but in reading mode is rendered as Invalid YAML
How can I achieve this?
Thanks :)
I have this field in my frontmatter:
source:
- https://stackoverflow.com/questions/641984/mysql-cant-access-root-account
- https://stackoverflow.com/questions/41984956/cant-reset-root-password-with-skip-grant-tables-on-ubuntu-16
These links aren't recognized as links and are rendered as normal plaintext. As soon as I add a double-quote to the left of "https", all links from that quote onward are recognized, even if I never close the quote and even on later list items.
In this example, both links work even though they're not properly quoted. Adding a closing quote to the end of the first link doesn't change this behavior, both links are clickable.
source:
- "https://stackoverflow.com/questions/641984/mysql-cant-access-root-account
- https://stackoverflow.com/questions/41984956/cant-reset-root-password-with-skip-grant-tables-on-ubuntu-16
In this example, only the second link is clickable.
source:
- https://stackoverflow.com/questions/641984/mysql-cant-access-root-account
- "https://stackoverflow.com/questions/41984956/cant-reset-root-password-with-skip-grant-tables-on-ubuntu-16
Hello!
I get the bug - any link to an alias containing text in double quotes is processed with an error and does not render as a link
With frontmatter like this:
someList:
- Some text "[[And a link]]" more text "[[Another link|with alias]]"
The parsing of links gets messed up and gets treated like one big, weird link. This can be partially fixed by changing the regex to exclude opening brackets (and the pipe): /\[\[([^\[\|]+)\|([^\[]+)\]\]/m
, but that does not completely solve the problem.
Even with the updated regex addFrontmatterLinksToCache()
function only catches the last link. Needs to be rewritten using .matchAll
and the /g
flag.
findLinks()
and styleLinks()
could probably benefit from the same .matchAll
and regex updates. Adding quotes around the entire list item (correct YAML syntax) is even more broken:
"Some text [[And a link]] more text [[Another link|with alias]]"
I think that's because of them being a part of the same slice, so the entire quoted string gets linked (node.from -> node.to) instead of the individual links inside the slice.
The expected behaviour is that the individual links are properly styled and added to the graph.
If I get anywhere, I'll send a PR, but it will probably require a rewrite of all the regex parts.
The following YAML frontmatter doesn't render correctly, but Obsidian does parse it correctly.
---
link: "[[Harvey Kantor and Robert Lowe (2006) From New Deal to No Deal - No
Child Left Behind and the Devolution of Responsibility for Equal
Opportunity.pdf]]"
---
Fixing this would likely require rewriting the plugin to not use Code Mirror 6 plugins (https://discuss.codemirror.net/t/preferred-way-to-create-multi-line-widget/4865)
Hello, @Trikzon !!!!!!
I just saw you new plugin and I have an idea that could have a fantastic fit for this plugin.
The FR is simple a new command that:
1๏ธโฃ Grabs all URLs from frontmatter
2๏ธโฃ Creates a Modal with the URLs
3๏ธโฃ When an item is selected in the Modal, it runs the URL
Every content that I process inside Obsidian is stored in a different App. For example:
Since these apps supports URL/URI scheme, every note has a URL to the original source;
If I could have a modal with the URL of the active note, I could easily navigate to the origin using a keyboard shortcut and hit Mod+Tab tp get back to Obsidian
This is just one workflow. Another idea is to create URI of Obsidian Commands using the Advanced URI plugin to create a dynamic command that runs different commands based on the notes frontmatter. One command all workflows :)
Thanks for reading this !!!!! I hope you like my suggestion ๐ ๐ ๐
Let me know if you need more information !!!
Have a great day ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.