Comments (7)
If arbitrary code execution is too much, people can do a great deal with regexes only.
from obsidian-auto-link-title.
Hi! i would really like this feature! Are you still working on it, or can i create a pull request finishing the implementation in the other branch?
from obsidian-auto-link-title.
+1 - adding a configurable map of URL regex to a templated title would be great for customization
from obsidian-auto-link-title.
Is there any progress on this? I saw there was a new release.
Also, this pull request seemed related, and was closed without elaboration: #98.
There are more requests related to this (#70, #34, #80, #84, #86). A lot could be solved with simple {{template}}
and regex replacements.
from obsidian-auto-link-title.
Can you provide me with some other examples of how you'd use this feature?
I've got a WIP branch with a GUI asking for a domain, a regex to test against, and the replacement regex:
but would like a few more examples of how you'd intend to use it before I commit to that method.
from obsidian-auto-link-title.
For example,
- I'd use this for GitHub:
GitHub - [\w\d_]*/(.*)
->$1
- would make this repo's link title
GitHub - zolrath/obsidian-auto-link-title: Automatically fetch the titles of pasted links
->obsidian-auto-link-title: Automatically fetch the titles of pasted links
- come to think of it multiple regexes for one domain might come in handy
- this for Wikipedia:
- Wikipedia
->| Wikipedia
, so this goesBlue jay - Wikipedia
->Blue jay | Wikipedia
But that's just off the top of my head. There are also some sites that have a lot of cruft in their titles. Regexes could also be a workaround for #22 to make the resulting titles now less ugly.
from obsidian-auto-link-title.
Hi! i would really like this feature! Are you still working on it, or can i create a pull request finishing the implementation in the other branch?
Hello! I've been pulled into a work project for the last bit, if you'd like to complete the feature I'd gladly accept a pull request!
from obsidian-auto-link-title.
Related Issues (20)
- Pasting links on iphone doesn't work on the last version HOT 5
- Breaks remapped "Paste" (without matching style) on macOS
- Pasting links on Android still doesn't work (since 1.5.0 update). HOT 4
- Manage website identification with the new scraper HOT 1
- Square brackets in title HOT 2
- [Bug] Auto Link not working in tables
- [Feature Request] DeArrow support for YouTube links
- Support adding link titles when pasting multiple links HOT 1
- Option to use selection as link-title when pasting with active selection HOT 2
- Add option for PDFs HOT 2
- Add options to fetch private links as google docs or github HOT 1
- Is is necessary to keep '\' as escape characters to indicate '_' in somr URLs?
- Feature request: Allow login to fetch titles from private sites
- Feature Request: Add a flag to trim website names HOT 2
- "Blocked by CORS policy" error in console everytime I paste link (title still fetches though)
- After installing 1.5.4 plugin only pastes the url HOT 5
- Issue with Title Rendering for ChatGPT, Miro, and Notion Links
- Fetch Reddit link title HOT 2
- Since the author has not merged the request, i fork a copy to handle the relevant requests. HOT 1
- Pasting links on Android doesn't work after the last update (1.5.0) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-auto-link-title.