Coder Social home page Coder Social logo

dive2pro / obsidian-hover-external-link Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jamiebrynes7/obsidian-hover-external-link

0.0 0.0 0.0 36 KB

Small plugin to add tooltips on hovering external links

License: MIT License

JavaScript 13.03% TypeScript 50.93% CSS 36.04%

obsidian-hover-external-link's Introduction

Hover External Link Obsidian Plugin

An Obsidian plugin that adds hover URL previews to external links in your rendered Markdown.

Demo

hover-external-link-demo.mp4

Installation

From in Obsidian

๐Ÿšง Coming Soon! ๐Ÿšง

Manually

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Place them in <vault>/.obsidian/plugins/hover-external-link/ folder (you'll need to create this).

Usage

This plugin will add on-hover tooltips to all external links if the text of the link is not the same as the URL. This only works in the preview mode.

This link will have a hover tooltip: [Google](www.google.com). 

This link won't: [www.google.com](www.google.com).

Customization

This plugin exposes two CSS variables that you can use to set the tooltip background and text color.

.theme-light {
  --link-tooltip-background: #333;
  --link-tooltip-text: #fff;
}

.theme-dark {
  --link-tooltip-background: #ccc;
  --link-tooltip-text: #000;
}

obsidian-hover-external-link's People

Contributors

jamiebrynes7 avatar dive2pro avatar

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.