Link Title Plus

by Abnerzhao
5
4
3
2
1
Score: 50/100

Description

Link Title Plus automatically converts pasted HTTP(S) URLs into Markdown links with page titles and favicons.

Reviews

No reviews yet.

Stats

1
stars
50
downloads
0
forks
21
days
3
days
3
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
23
commits

Latest Version

4 days ago

Changelog

1.链接图标默认展示,可手动关闭 2.优化链接展示信息

README file from

Github

中文说明

Link Title Plus converts a pasted HTTP(S) URL into a Markdown link with its page title and favicon.

Installation

After the plugin is approved, install and enable Link Title Plus from Settings -> Community plugins in Obsidian.

For manual installation, copy main.js, manifest.json, and styles.css into:

<Vault>/.obsidian/plugins/link-title-plus/

Then enable the plugin from Obsidian's Community plugins settings.

Usage

Paste a single HTTP(S) URL in a Markdown editor. The plugin replaces it with a Markdown link containing the page title. Website icons are enabled by default and can be disabled in the plugin settings.

Configure the display template and optional proxy in the plugin settings.

Features

  • Fetches Open Graph, Twitter, or HTML page titles.
  • Inlines favicons as data URLs to avoid hotlink-protection failures.
  • Falls back to the website name when metadata cannot be fetched.
  • Uses YouTube oEmbed instead of loading video watch pages.
  • Supports configurable display templates and HTTP, HTTPS, or SOCKS5 proxies.

Display Template

The default template is:

[{{display}}]({{url}})

{{display}} renders a 16px icon and title when a favicon is available, or a website name and title when it is not. When Show website icons automatically is disabled, it renders the page title followed by the website name. It does not repeat the website name when it is already part of the title.

Available placeholders:

Placeholder Value
{{title}} Page title
{{url}} Original URL
{{hostname}} Host name
{{siteName}} Website name
{{icon}} Inlined favicon data URL
{{description}} Page description
{{site}} A 16px icon when available; otherwise the website name. Disabling automatic icons always uses the website name.
{{display}} Icon or website name followed by the page title; when automatic icons are disabled, page title followed by website name

Examples:

[{{title}}]({{url}})
[{{siteName}} · {{title}}]({{url}})

Proxy

The proxy is used only for fetching page metadata. Leave it empty to use Obsidian's default network settings.

http://127.0.0.1:7890
socks5://127.0.0.1:1080