Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Make this work with block links too #4

Open
peppidesu opened this issue Jan 2, 2023 · 1 comment
Open

Feature Request: Make this work with block links too #4

peppidesu opened this issue Jan 2, 2023 · 1 comment

Comments

@peppidesu
Copy link

Currently, the ^ is still present when linking a block.
I feel like having a regex string that can be changed by the user can make this easier to implement.

@peppidesu
Copy link
Author

I got this to work like intended:

for (var i = 0; i < linkElements.length; i++) {
    alias = linkElements[i].innerText.replace(/(.*)\s>\s\^?/,"");
    linkElements[i].innerText = alias;		   
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant