GithubHelp home page GithubHelp logo

Comments (7)

NomarCub avatar NomarCub commented on September 21, 2024 4

If arbitrary code execution is too much, people can do a great deal with regexes only.

from obsidian-auto-link-title.

KraXen72 avatar KraXen72 commented on September 21, 2024 1

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.

danyim avatar danyim commented on September 21, 2024

+1 - adding a configurable map of URL regex to a templated title would be great for customization

from obsidian-auto-link-title.

NomarCub avatar NomarCub commented on September 21, 2024

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.

zolrath avatar zolrath commented on September 21, 2024

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:
image
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.

NomarCub avatar NomarCub commented on September 21, 2024

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 goes Blue 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.

zolrath avatar zolrath commented on September 21, 2024

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)

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.