Code Monkey home page Code Monkey logo

obsidian_supercharged_links's Introduction

Supercharged Links

Supercharged Links is an Obsidian plugin that helps you style the links in your vault based on your notes metadata, such as tags or YAML frontmatter properties. You can automatically add colors, emojis, or other styles to the links, making them more visually appealing and easier to navigate.

drawing

When your notes represent something, like a paper, a location, a person or a day in the week, Supercharged links ensures those notes stand out. Another use case might be to give notes with the #todo tag a loud color. This visual feedback helps you find the right note back quickly!

Installing the plugins

  1. Install and enable the Supercharged Links plugin in Obsidian.
  2. Install and enable the Style Settings Plugin in Obsidian.

Getting started

This is the overall workflow for Supercharged Links:

  1. In the Supercharged Links settings, create a new selector for the attribute you want to style
  2. Choose the type of selector (Tag, Attribute, or Path) and enter the value you want to match.
  3. In the Style Settings Plugin settings, set up the style for the selected attribute, such as changing the text color, background color, or by adding emojis.

Example workflow

Let's say I have a note about Jim called Jim.md with the tag #person and some YAML frontmatter.

---
status: call soon
age: 42
---

Jim is one of my colleagues

#person

I want to change what links to Jim's note look like. In particular, I want links to persons to have a blue background, and I want persons I have to call to have a telephone emoji ☎️ in front: .

Setting up the plugin

Time to set up the plugin to get this work! Let's go to the plugin settings. First, you have to tell the plugin what front-matter attributes to include for your styling in the Target Attributes for Styling option on top. Let's add status here, which indicates whether we need to call Jim!

drawing

Next, we have to tell the plugin to look for notes with the tag #person. In the settings, under the Styling header, create a new selector. Under types of selector, select "Tag", and add person down below:

drawing

We also want to add an emoji when notes have call soon as its status. We will tell the plugin to look for the attribute status, and that its value should be call soon. Note that this will also look for inline fields called status from DataView.

drawing

One important setting for our use case is that we only enable the "Add content before link" option under "Style options", since otherwise this style would override the one from the tag #person!

In addition to styling based on attributes or tags, we can also style notes based on their 'path' (which includes its name, folders and extension). For example, we can style all notes in the folder dailies. Make sure to select 'Contains value' under match here instead of 'Exact match':

drawing

Time to style!

First, make sure you have the Style Settings Plugin installed and enabled. Then, under settings, navigate to the settings of Style Settings. Now we are ready to style our links! Let's start with setting up our style for notes with the tag #person. We will use a white text color, enable the background, and use a nice blue background there.

drawing

Next, let's add emoji's before notes with the call soon status. All we have to do here is copy the ☎️ into the text area "Prepend text".

drawing

And voila!

drawing

Advanced Styling with CSS

If you are comfortable with CSS and HTML, you can create even more customized styles for your links using CSS snippets.

  1. Create a CSS snippet in Obsidian by going to Settings > Appearance > CSS Snippets.
  2. Write your custom CSS code to style the links based on their data attributes, such as data-link-tags or data-link-status.
  3. Save the CSS file and enable the snippet in Obsidian.

Example styling with CSS

To explain how this works, let's explain what this plugin does in the background.

Let's say I have some link to [[Jim]] somewhere. Without the plugin activated, the HTML link element would normally look like this:

<a data-href="Jim" href="Jim" class="internal-link" target="_blank" rel="noopener">Jim</a>

This does not give any information about what is in the Jim.md note! So, we wouldn't be able to customize it.

That's where this plugin comes in: it will add two extra properties in the <a> element : data-link-status and data-link-tags. Importantly, these attributes are prefixed with data-link so that it will not conflict with other attributes in Obsidian.

With the plugin active, the <a>element will be supercharged like this:

<a data-href="Jim" href="Jim" class="internal-link data-link-text data-link-icon data-link-icon-after" target="_blank" rel="noopener" data-link-status="call soon" data-link-tags="#person" >Jim</a>

Style your links with CSS!

You can use the flexibility of CSS to customize your links by setting CSS properties in a CSS snippet like links.css. To create a CSS snippet, go to the Obsidian settings, then to Appearance and scroll to the CSS snippets section. Click on the little folder icon, then create a new file in the opened folder called links.css.

Example CSS snippets

To change the color of every appearance of a link to a note based on the tag in the file:

[data-link-tags*="#topic" i]{
    color: #ff6600 !important;
}

This will target all HTML elements that contain the data-link-tags property, that is, all supercharged links.

To put a 👤 emoji before the name of each link to a "category: people" note:

.data-link-icon[data-link-category$="People" i]::before{
    content: "👤 "
}

Selecting specifically .data-link-icon is required to prevent bugs in Live Preview.

To highlight the link in a tag-like blue rounded rectangle when the property status is in the note:

:not(:empty)[data-link-next-status] {
    color: white;
    background-color: rgb(29, 29, 129);
    border-radius: 18px;
    padding: 5px 15px;
}

To display the value of the status property at the target file, but only whenever you hover on the link:

.data-link-icon-after[data-link-status]:hover::after{
    content: " ► "attr(data-link-status)
}

To hide the display of links with the tag #hide from your notes (that is, from preview mode and live preview):

a.internal-link[data-link-tags *="hide"],
.cm-hmd-internal-link > [data-link-tags *="hide"]{
    visibility: hidden !important;
    display: none;
}

CSS custom properties (CSS variables)

In addition to adding HTML attributes, Supercharged Links will also add CSS custom properties to your links. This can make it easier to use these values directly in CSS.

All such properties are prefixed with --data-link- -- so a property called "priority" would be expressed as --data-link-priority.

Any property whose value begins with http will be treated as a URL in CSS -- so if you have avatar:: https://avatars.githubusercontent.com/u/124363?v=4 in your document, it will be added as --data-link-avatar: url(https://avatars.githubusercontent.com/u/124363?v=4).

Example: using colours

Let's say you add a property colour to a note (for example, with colour:: #8bc34a or colour:: rebeccapurple). You can then use CSS to apply that colour to your link:

[data-link-colour] {
    color: var(--colour);
}

Example: avatars

Set up your notes so that each "person" note includes a photo attribute. Note that this will need to be an HTTP link. For example:

barryvan.md

    photo:: https://avatars.githubusercontent.com/u/124363?v=4
    website:: https://barryvan.com.au/

    ...my notes about barryvan

Then in your CSS:

/* Used in the editor */
.data-link-icon[data-link-photo^="https" i]:empty {
	width: 1.5em;
	height: 1.5em;
	display: inline-block;
	vertical-align: middle;
	background-image: var(--data-link-photo);
	background-size: cover;
	box-shadow: 0 1px 4px #0008;
	border-radius: 100%;
	margin: -0.5em 0.2em -0.5em 0;
}

/* Used outside the editor -- for example, in search results, tabs, etc. */
.data-link-icon[data-link-photo^="https" i]:not(:empty)::before {
	content: '';
	width: 1.5em;
	height: 1.5em;
	display: inline-block;
	vertical-align: middle;
	background-image: var(--data-link-photo);
	background-size: cover;
	box-shadow: 0 1px 4px #0008;
	border-radius: 100%;
	margin: -0.5em 0.2em -0.5em 0;
}

...to produce something like this:

Demos

NOTE: These demos are somewhat outdated.

Live Preview

Internal link simple styling

https://youtu.be/tyEdsmAQb_4

Multiple properties

https://youtu.be/Ofm6gIRP-7o

Multiple values for a property

https://youtu.be/aaSZnkEuH4w

Supported plugins

Live preview, source view, reading mode and the file browser are fully supported in core Obsidian. Other plugins are also supported, as listed below:

Core plugins:

  • Backlinks (including Backlinks in edit mode)
  • Outgoing links
  • Search
  • Starred files
  • Quick Switcher

Community plugins:

  • Breadcrumbs
  • Graph Analysis
  • Recent files
  • Quicker Switcher++
  • Another Quick Switcher
  • Dataview (inline fields)
  • Omnisearch

Want support for another plugin? Create an issue here in the repo!

Link context menu extra options

This plugin also adds context menu items to modifiy target note's frontmatter properties and "inline fields" (dataview syntax) by right-clicking on the link.

This functionality is deprecated and has been migrated to metadata-menu plugin, available with brat https://github.com/mdelobelle/metadatamenu .

obsidian_supercharged_links's People

Contributors

barryvan avatar chrisgrieser avatar claremacrae avatar dsummersl avatar fenntasy avatar hemile avatar jadenaccord avatar johanfriis avatar kometenstaub avatar l1xnan avatar mdelobelle avatar nothingislost avatar optionalm avatar peanball avatar r4zzz4k avatar rdimaio avatar tfthacker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

obsidian_supercharged_links's Issues

Subheading links not formatting according to page

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.

FR: Minor changes to Field Options Modal

I would like it if the field options modal was usable through the keyboard. Here's an example. In this example I want to change CreativeWorkType, but i need to use the mouse and cant scroll with the keyboard:
uBBxESSU5L

it would be great if I could just select the thing I wanted to change

internal link menu extra actions

Enable extra actions when right clicking on an internal link.
Possible actions to develop moving forward:

  • add new front-matter value while right clicking on an internal link
  • change front-matter values while right-clicking on an internal link based on value list in settings

Issue with ignoring fields in context menu

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.

image

still shows author in the context menu:

image

The metadata, which Dataview is taking its info from is:

image

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.

Inline fields parsing is not compatible with Dataview's inline fields.

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.

[FR]: Enhance field options selector

Current Flow:

  1. Running Plugin, using Mouse you should select dropdown to see possible properties.
    image
    image
    We don't need to use word "Update" in each option. May be good to have option to display current value of the property or not.

Good example of how it could look is MetaEdit plugin suggester, maybe even with showing assigned hotkey for some properties from another Feature Request
image
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.

  1. After selecting some property, again this dropdown appears. We can get redo of this selector, and use insert field with suggested options.
    image
    If we visit property value selector from "All Properties List" which is one possible way in the current moment, we need to have button to go back. Also button to apply changes can be removed, as if you are in the edit mode you can just "Redo Changes". If you edit data in external files, from explorer for example, it's good to have this button (but maybe optional in settings to more careful approach).

Here is some examples of dropdown navigation and selection from other plugins:
MetaEdit:
image

QuickAdd - back option, filtering options by input
image

[Feature request] Supercharge links in File Explorer (official plugin)

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.

Tags from note body are overided when tags field exists in frontmatter

When tags exist in frontmatter, body, and dataview fields

image

HTML at this time

<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>

When frontmatter is removed

image

HTML at this time

<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!

compatibility with obsidian publish?

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 :)

I cant get this to work. Is it something I'm doing wrong?

What I did

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
}

Result (not working): img

Settings/Info

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.

Suggestion: Autocomplete from predefined values in editor

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

idea: This plugin can categorize highlight link with icon.

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.

Question: Should Supercharged Links work in code blocks?

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?

Error: `Cannot read property 'links' of undefined`

Hi! Love this plugin. Somehow I run into the following error when styling links:
Screenshot 2021-11-23 at 10 51 49

My code is the following:

[data-link-type~="Scripture"] {
    color: #BEA1A5;
}

Versions are 0.3.6 of Supercharged Links and 0.12.19 of Obsidian.

Thanks for your help!

Could you please add more examples of using the Plugin

More example of the plugin

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.

Outgoing links panel

Is it possible to have supercharged links working in the outgoing links panel as well?

fileclass issue : this file is not a fileclass

I create a folder named "fileclass" and it is properly set in settings :
image
image

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é", "❌"]}

[FR] Copy metadata value

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 :

  • I save the meta "link".
  • In the parameters, I activate copy value.
  • When I go to the file menu, I can then copy 'link'.

FR: Automatically generate CSS snippets

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,

  • Color of the link
  • Style of the link (underlined, bold, italics, strikethrough...)
  • Emoji before the link
  • Background of the link
    Additionally, we might be able to take inspiration from the Style Settings plugin (or even do this using Style Settings).

Preset values usage in the original doc

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

fileClass: confuses categories withg subcategories and puts wrong data-link-* values.

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.

Setup

Here is my setup:

  1. 2021-09-24_bla-news.md
---
category: news_article
fileClass: news_article
news_article-subcategory: news
---

News article about subject X
  1. The appropriate news_article.md fileClass in the appropriate place.
news_article.md
=========
category
news_article-subcategory
news_article-subcat
  1. All the settings set up properly, including having 3 subcategories ("news", "article", "paper" (as in scientific )) for "news_article" category:
    2021-09-24_Obsidian_Supercharged-links_bug3

Problem

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).

2021-09-24_Obsidian_Supercharged-links_bug1

As soon as I change data-link-category to data-link-cat, the bug disappears:
2021-09-24_Obsidian_Supercharged-links_bug2

Helper for css snippet

Create a command that shows up a form where you can input:

  • which kind of attr you want to track: tags or metadata/inline-field
  • what is the name of the attr (in case it's not a tag)
  • what is the value of the attr
  • how to match against this value: startswith, endswith, exact, iexact, contains, icontains
  • where do you want this styling to apply (file explorer, editor, preview, divs ...)
    and it returns a boilerplate for your snippet

Scrolling panel need

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

manage classes of notes

base the list of fields authorized for a note with a given "class" property on another note containing this list of fields

Populate preset property values using tags or folders

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!

Frontmatter arrays are not being recognized

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 :)

[BUG]: Populate symbols in explorer only after interaction

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 🖤

Supercharged links blocks note for several seconds

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')

ignore certain frontmatter/dataview fields

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

Add ignored directories/files

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. :-)
image

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!

Add dataview inline fields as target attribute for styling

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:

  • we cannot create links in frontmatter
  • we cannot tag in frontmatter (aside from adding into the 'tags' field)
  • custom frontmatter fields are not displayed when rendering the file

Thanks for the great work!

[Feature Request]: Add/delete field or tags in multiple files

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:

  • Select multiple files in file Explorer within Obsidian
  • Right click to add field or tags for the files selected.

Can't get the plugin to add the attributes to the link

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.

Here are some screenshots:
image

Here are my settings:
image

And it even does not work when disabling every other plugin:
image

I tried to restart obsidian, reload the plugin, reload the note, and other things.

It does not work for me unfortunately.

feature request: conditional property management

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.

[FR]: Commands to change special property

Need:

  1. Quickly change properties when editing notes.
  2. Create macros and flows in other plugins like QuickAdd or Buttons

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:

Templater
image

QuickAdd
image

Windows 10-11 reading files issue?

Recording.6.mp4

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.

Possibility of extending SuperCharged Links to manual-plugin-generated links

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.