link-headers-directly
link-headers-directly copied to clipboard
Feature Request: Make this work with block links too
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.
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;
}