Code Monkey home page Code Monkey logo

obsidian-links's Introduction

Obsidian Links

Manipulate links in Obsidian.

Features

Unlink

Unlink single link or all links in a selection.

  • Command palette: Unlink
  • Context menu: Unlink
Demo. Single link.

remove link

Demo. Links in a selection.

remove link

Delete link

  • Command palette: Delete link
  • Context menu: Delete
Demo. Wikilink

delete link

Demo. Makdown link

delete link

Demo. Autolink

delete link

Convert wikilink or html link to markdown link

Convert a wikilink or HTML link to a markdown link. If a wiki link contains spaces a destination of a markdown link will be places in <>. HTML link must be expanded.

  • Command palette: Convert to markdown link
  • Context menu: Convert to markdown link
Demo. Wikilink

convert wikilink to markdown link

Demo. HTML link

convert html link to markdown link

Convert markdown link to Wikilink

  • Command palette: Convert to wikilink
  • Context menu: Convert to wikilink
Demo

convert markdown link to wiki link

Convert markdown link to autolink

Converts a markdown link with an absolute URL or an email address to an autolink.

  • Command palette: Convert to autolink
  • Context menu: Convert to autolink
Demo. Markdown link with absolute URL.

convert markdown link to wiki link

Demo. Markdown link with email address.

convert markdown link to wiki link

Copy link destination to clipboard

Copy link part of markdown, wiki or html link to the clipboard.

  • Command palette: Copy link destination
  • Context menu: Copy link destination
Demo

copy link destination to clipboard

Remove links from headings

Remove links from headings in selection or in an entier note.

  • Command palette: Remove links from headings
Demo

Remove links from headings

Edit link text

Select link text and place cursor at the end of the text

  • Command palette: Edit link text
  • Context menu: Edit link text
Demo

Edit link text

Edit link destination

Select link text and place cursor at the end of the text

  • Command palette: Edit link destination
  • Context menu: Edit link destination
Demo

Edit link text

Set link text

Change or add link text, select it and place cursor at the end of the text. Link text depends on the kind of a link. For local notes text will be either file name of the note or popup with suggested link texts. Title separator can be specified in the plugin settings. For external http[s] links, page content is requested and link text is set to the title (content of <title/> element) of the requested page content.

  • Command palette: Set link text
  • Context menu: Set link text
Demo. Link to a local note

Link to local note

Demo. Link to a heading in a local note

Link to a heading in local note

Demo. External link

External link

Create link from selection

Create link from selected text.

  • Command palette: Create link
  • Context menu: Create link
Demo

Create link from selection

Create link from clipboard

Create link from textual content of the system clipboard.

  • Command palette: Create link from clipboard
  • Context menu: Create link from clipboard
Demo

Create link from selection

Convert autolink to markdown link

Convert an autolink to a markdown link. If an autolink has an absolute URI with http or https scheme content of the <page/> element will be set as a link text. If request fails or the URL has other scheme cursor will be places inside the [] of the markdown link. For email autolink mailto scheme will be added before email address.

Demo. Convert autolink to markdown link

convert to markdown link

Embed / Unembed files

Add or remove file embedding from a wikilink or a markdown link.

Demo. Embed

remove link

Demo. Unembed

remove link

obsidian-links's People

Contributors

mii-key avatar kkei34 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.