mdelobelle / obsidian_supercharged_links Goto Github PK
View Code? Open in Web Editor NEWobsidian plugin to add attributes and context menu options to internal links
License: MIT License
obsidian plugin to add attributes and context menu options to internal links
License: MIT License
Unlike the Backlinks pane, the backlinks in document functionality is not supercharged.
When I'm open obsidian on mobile supercharged links show prepended symbols in note preview, but not in explorer. Only after opening any note from explorer it start showing symbols.
UPD: for desktop it also don't push symbols in titles that in other folders. In other words when I'm open obs, it works in one folder, but when I'm open another one it doesn't. Only after opening note from this second folder plugin start working in explorer.
Whould be awesome if it will be fixed. It will change huge part of my note titles readability 🖤
It will be cool if we could copy the value of a metadata/inline data, with contextual menu for file.
In order not to have too many menus, it would be nice if the "copy metadata" menu only appeared for the selected meta.
For example :
copy value
.copy 'link'
.Hi,
My problem is, that if I add lots of preset values in your plugin options panel for one field, with the increasing window size the save button disappears and I am not able to save the data. I can not scroll down to that button.
I have to use the fileClass method, which is a very good alternative, but not in every case.
Thanks
Füles
Hi, just wondering if it was currently possible to this plugin to Obsidian Publish via publish.js
I'm mainly interested in editing this element in case that makes it easier:
a.internal-link[data-link-category
just so I can modify the different kinds of wikilinks on my site.
Thank you :)
Obsidian version: 0.12.15
Plugin version: 0.2.12
While enabled, I can't get the plugin to work (it does not add any attribute on my link.
And it even does not work when disabling every other plugin:
I tried to restart obsidian, reload the plugin, reload the note, and other things.
It does not work for me unfortunately.
Currently, only frontmatter fields are supported as target attribute for styling. I would like to suggest adding inline dataview fields as well. I prefer using inline dataview fields over frontmatter fields because:
Thanks for the great work!
I'm getting the hang of this plugin and it's very cool. Just found one issue; when I link to a subheading or paragraph, i.e. [[Page#subheading]] or [[Page#^434234]], the link loses its formatting.
Hey there, loving your plugin!
While arrays in frontmatter like so tags: ['person']
work just fine, I use an array syntax with 2 spaces for most of my notes which doesn't seem to get recognized :/
---
tags:
- person
---
It would be amazing if you could add this :)
Current Flow:
Good example of how it could look is MetaEdit plugin suggester, maybe even with showing assigned hotkey for some properties from another Feature Request
I understand that this is native suggester, and there should be some pros of choosing current pop-up approach, but I just want to pick up discussion on which possible way can be enhanced UX of this plugin.
Here is some examples of dropdown navigation and selection from other plugins:
MetaEdit:
Enable extra actions when right clicking on an internal link.
Possible actions to develop moving forward:
The plugin currently is a bit hard to get started with. This could be fixed with a UI that generates snippets for you. This could include, for instance,
Adding a screen recording.
Two links, with the same parameter used, one is showing, the other isn't.
I believe this is an issue with the file reader or something related to Windows only, because when I restarted obsidian - none of them showed.
After going to the first page and back, it was showing. But the other didn't.
Hi, I’ve looked at the documentation for ignoring fields so that they don’t show in the context menu, but for some reason the fields are still showing, e.g.
still shows author in the context menu:
The metadata, which Dataview is taking its info from is:
Also the field update options sometimes show at the top of the context menu, instead of under a divider, other times they show at the bottom of the context menu.
I’ve tried reinstalling the plugin, and trying to exclude other fields, but everything still shows in the context menu. I've also run it on a fresh vault with no snippets or other plugins (apart from Dataview), but still have the same issue. This is with Obsidian v0.12.4 and Supercharged Links 0.2.6.
Really not sure if it's caused by a possible conflict with something, or if it's me completely missing something.
For files with many metadata fields, right-clicking them turn messy. I would like to suggest the ability to ignore certain fields.
Suggestions:
a) ignore fields that are listed as an array
b) capability to toggle regex matching for fields
Thank you for a great plugin!
My request should be self-explanatory. Is there any way the files in the File Explorer list could be supercharged as well? Extra gratitude for a toggle in the settings for people who only want to see links supercharged only in one those 2 instances.
I create a folder named "fileclass" and it is properly set in settings :
I create a note :
---
fileClass: JV
---
Console:: [[PC]]
Envie:: 🔥 🔥 🔥 🔥
Prix:: 60€
Status:: [[Solo]]
#JV/PC
But when I try to use fileclass (ALT+P), I have an error : this file is not a fileclass.
Fileclass looks like :
prix
envie:: {"type":"select", "options": ["🔥", "🔥🔥", "🔥🔥🔥", "🔥🔥🔥🔥", "🔥🔥🔥🔥🔥]}
avis:: {"type":"select", "options":["❤️","❤️❤️","❤️❤️❤️", "❤️❤️❤️❤️", "❤️❤️❤️❤️❤️"]}
status:: {"type":"select", "options":[[Solo|"[]]", "[[Stream]]", "[[Coop]]"]}
console::{"type":"select", "options":[[PC|"[]]", "[[PS4]]", "[[Switch]]"]}
date
preco::{"type":"select", "options":["Physique", "Dématerialisé", "❌"]}
Hey mdelobelle :)
This is an awesome tool you've built here!
I have a suggestion/request. Maybe this functionality is already possible, but I don't think it is.
My plugin creates internal links. These used to be <a.internal-link>
s, but that created lots of problems. Instead, I now use a div with an event listener to openLinkText
when clicked. This is what I refer to as the manual-plugin-generated links.
It would be awesome if Super Charged Links could target these manually created links too. A user of my plugin has noted that they weren't able to achieve this, however.
Is there something I can do to enable this? Is it possible for you to extend the functionality to target the manual links? Is this functionality already possible using other means?
Thanks for reading this :) Let me know what you think
Sorry to mention this but I am a bit of noob on css. I was trying to replicate the visual example that you have shown about the plugin. However I was not able to write the correct css for it.
I am sure someone else trying to understand the plugin might be facing a similar issue. It would be good if you could add a bit of more explanation and css example for the visual that is shown on the readme. Might be helpful for a lot of people trying to incorporate the plugin in the usage. Btw I think this is a fantastic plugin. Just a bit more documentation will speed up its adoption.
Hey, thanks for the nice plugin!
I have a special use case that might require an additional filter setting to work.
I use Media Extended plugin in order to embed and link / timestamp mp4 videos (e.g. downloaded Coursera courses) in my vault.
I have a root note like this for each course, populated with dozens of links to mp4 videos.
When I open up this root note my obsidian hangs for 10ish seconds, not allowing me to switch to another note in the meantime
This happens only with Supercharged links plugin enabled.
I guess that the problem is related to Supercharged links scanning the frontmatter of linked files it finds within the current note.
It probably opens up and scans through each of these videos which, to make matters worse, are actually symlinked into my vault and live on an external HDD.
I think that this issue would be easily fixable by only opening files for scanning front matter that end on '.md' (and possibly '.txt')
I think it would be really cool if we could set up conditional property management.
For example, the status
property of a file with type: task
might be able to contain new
, todo
, done
, etc. But for a note, it might contain new
, in-progress
, reviewed
, etc.
Ideally (for me), the default behavior should be just one 'global' rule, but user can add more specific conditions with their own rules as needed for said property.
<span class="cm-header cm-header-5 cm-hmd-internal-link" data-link-tags="topic, tool" data-link-status="#EVER/SEED" data-link-parents="[[programming]], [[game design]]">Unity (game engine)</span>
<span class="cm-header cm-header-5 cm-hmd-internal-link" data-link-tags="#Exandria,#EVER/SEED" data-link-status="#EVER/SEED" data-link-parents="[[programming]], [[game design]]">Unity (game engine)</span>
SuperchargedLinks version is 0.3.1, Obsidian version is 0.12.15
Target attributes are tags, Parents, Topics, Status
and all settings are turned on
Thanks for taking a look at this!
I use Admonition blocks in a lot of notes, with links in them. Currently, Supercharged Links works intermittently in these blocks. Is it expected to work or not? If not, would it be possible to add a feature to work in these blocks?
The widely used Dataview plugin allows markdown formatting in inline fields names. For example: **Level**:: Rare
gets parsed as just level = Rare
, with the markdown formatting parsed out.
However, Supercharged Links don't recognize inline fields with formatting around them. It would be great if both plugins could play nice with each other. Having formatting with fields is quite handy, since they are usually kind of important and I find really useful to highlight them somehow.
Create a command that shows up a form where you can input:
add an option to select the line to add field
Need:
Current Flow requires to run command "Field Options" and after that you need to select needed property in dropdown.
Good examples of realization adding new custom commads:
When I'm seeing this plugin can give a backlink to the background , an icon , and category.
The idea is comming. It looks like give a highlight text to an icon and category.
You know the highlight text have the background , but the highlight text can't be with an icon and can't be categorized.
So, if there's a way that convert highlight text to the backlink with highlight link folder.
and then use this plugin for categorize highlight link with icon.
That's really really wonderful.
Appreciate your plugin.
This plugin is very helpful to visualize my note. However, there is no way to add/delete tags or field value to multiple files at once.
For I don't use field value before, I have to add tags or field value to each file manually, which is a disaster for me.
Feature request:
Is it possible to have supercharged links working in the outgoing links panel as well?
base the list of fields authorized for a note with a given "class" property on another note containing this list of fields
I have a bunch of categories (like a movie category, general news+articles category, media category, etc). I also want to use subcategories. Since it can't be done directly via the interface, I am using the fileClass
feature.
Here is my setup:
---
category: news_article
fileClass: news_article
news_article-subcategory: news
---
News article about subject X
news_article.md
fileClass in the appropriate place.news_article.md
=========
category
news_article-subcategory
news_article-subcat
The problem is that data-link-category
is showing the exact same thing as data-link-news_article-category
. This brings all kinds of problems (for example my Movie -> Person personalities, instead of getting Movie specific CSS style, are getting the style of the ordinary people).
As soon as I change data-link-category
to data-link-cat
, the bug disappears:
Hello.
Can we make use of obsidian tags?
testing2.md:
---
type: website
---
asdf
testing1.md:
text [[testing2]] text
Links.css:
a.internal-link[data-link-type$="website"]::before{
content: "🌐 " !important
}
a.internal-link[data-link-type]{
color: white; !important
background-color: rgb(29, 29, 129); !important
border-radius: 18px; !important
padding: 5px 15px; !important
}
Obsidian V0.12.9
Plugin V0.2.12
Plugin Enabled? √
Target Attributes for styling: type
CSS Snippets Enabled? √
Apply Custom CSS? √
Links.css changes saved? √
Using demo attribute category
also doesn't work.
Feature idea:
Allow users to access the predefined values for a field from the editor. This could use a trigger character similar to creating a new link with [[
or the @
used by Natural Language Dates plugin.
Example:
If I type country::
automatically show the autocomplete list of predefined values
I'd like to auto populate my presets for some properties using note titles from specific tags or folders.
For example: I have a Project:: property. I'd like every note that has the tag #projects to show up as an option for the Project property.
Thanks!
Display the same options as context menu in a tool palette, accessible with a hotkey
Add a setting to set a note path containing list of value
Those values can be stacked with the preset values entered in settings
Hi,
First of all thanks for this great plugin. It is very smooth to use, I love the preset values and fileClass usage.
My only problem is when I make a new doc and want to fill out some fields or metadata in place in the original document, I can not use the preset values lists. I have to go to the link and through it, I can give the right values, which I think would be the right place for modification and not "filling the form".
What do you think about it, could you give some solutions for it?
Thanks
Füles
This is a continuation of the #33 issue.
Having links being supercharged in the File Explorer is an amazing addition! Thank you @HEmile one more time!
But now I have noticed an issue with this feature. It works really well even when it would be undesirable - like with the template directory/files. Since those files contain e.g. a full list of status attributes (so I could simply delete the unnecessary ones), the template directory looks like a Christmas tree. :-)
Would it be possible to create the "These directories/files will be ignored by the plugin" feature?
https://github.com/dvcrn/obsidian-filename-heading-sync has a really nice Regex ignore feature. It's worth it to check it out for inspiration if you feel like it. :-) For my purposes, the feature can be much simpler - one field with one lonely template directory.
Thank you for considering my request!
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.