obsidian-auto-link-title

Automatically fetch the titles of pasted links

MIT License

Stars
444
Committers
12

Bot releases are hidden (Show)

obsidian-auto-link-title - 1.2.5

Published by zolrath almost 3 years ago

This release moves the required version of Obsidian to 12.17 to allow access to the "editor-paste" event, this lets us only intercept paste events when it takes place in the editor, stopping us from intercepting pastes into Find dialogues.

Fixes #13

obsidian-auto-link-title - 1.2.4

Published by zolrath almost 3 years ago

Huge thank you to a number of community contributors adding features and fixing issues for this release!

What's Changed

New Contributors

Full Changelog: https://github.com/zolrath/obsidian-auto-link-title/compare/1.2.3...1.2.4

obsidian-auto-link-title - 1.2.3

Published by zolrath over 3 years ago

  • Correct issue with electron import breaking mobile.
obsidian-auto-link-title - 1.2.2

Published by zolrath over 3 years ago

  • Use window.webContent.getTitle() instead of executing javascript to extract the title - Fixes issue on baidu as reported by user wongFanx.
obsidian-auto-link-title - 1.2.1

Published by zolrath over 3 years ago

  • Remove new lines and spaces from the start/end of page titles.
obsidian-auto-link-title - 1.2.0

Published by zolrath over 3 years ago

  • Use electron.remote.BrowserWindow on desktop to allow user to grab title without external CORS proxy.
    • This corrects the issue #2 and #3 as the CORS proxy does not support these charsets.
    • It also allows javascript execution like a normal browser so more titles should be retrievable.
    • Continue to use CORS proxy on mobile as it is not built on electron

Note: As it allows execution of javascript the local fetch will take slightly longer to show the title result, waiting to see if the title gets modified by javascript execution.

obsidian-auto-link-title - 1.1.1

Published by zolrath over 3 years ago

  • Remove nanoid as it has a process.node.env check which causes the plugin to fail on Mobile.
    • Use hash function by @shabegom instead
obsidian-auto-link-title - 1.1.0

Published by zolrath over 3 years ago

  • Swapped entirely off CodeMirror 5 dependencies, only using the Obsidian.Editor interface.
    • Use nanoid and find/replace instead of Markers
    • Use regex instead of Tokens
  • This means we can enable Mobile support!
obsidian-auto-link-title - 1.0.9

Published by zolrath over 3 years ago

  • Switch to addEventListener instead of defining new paste hotkey
  • Do not attempt to fetch URL if electron determines we are Offline.
obsidian-auto-link-title - 1.0.8

Published by zolrath over 3 years ago

  • Still handle paste when pasting url into () of existing markdown link, if we allow the default paste handler to paste it results in an awkward extra [] in the existing markdown link.
obsidian-auto-link-title - 1.0.7

Published by zolrath over 3 years ago

  • Use checkCallback to allow default paste to take over if the clipboard doesn't contain a URL.
  • Ignore URLs containing an image as they don't have a <title> attribute and thus are a waste a bandwidth.
  • Switch to isDesktopOnly as we rely on desktop only APIs at the moment
obsidian-auto-link-title - 1.0.6

Published by zolrath over 3 years ago

Allow all characters except [] in link titles for the replace title functionality to allow for replacing titles that contain emojis

obsidian-auto-link-title - 1.0.5

Published by zolrath over 3 years ago

Don't add title to url if pasting it into an existing markdown link

obsidian-auto-link-title - 1.0.4

Published by zolrath over 3 years ago

If cursor is on URL part of markdown link, overwrite the existing title when ctrl+shift+e/cmd+shift+e hotkey is used.

obsidian-auto-link-title - 1.0.3

Published by zolrath over 3 years ago

Add ability to add title to existing raw link with ctrl+shift+e or cmd+shift+e

obsidian-auto-link-title - 1.0.2

Published by zolrath over 3 years ago

Remove mark once paste is complete

obsidian-auto-link-title - 1.0.1

Published by zolrath over 3 years ago

Instantly paste link and use mark to replace title after fetching.

obsidian-auto-link-title - 1.0.0

Published by zolrath over 3 years ago

Automatically fetch the title and format pasted URLs in markdown link format.

Related Projects