Jump to the post that solved this thread.
Not Solved creating a custom mycode for an anchor tag
#1
Not Solved
I am trying to make an anchor html tag. So people can make a tag, and link other people to the point on the post, instead of the alternative to just give post ID. However it doesnt seem to be working

regex:
\[anchor=(.*?)\](.*?)\[/anchor\]

replacement:
<a href="#$1">$2</a>
and usage:
[anchor=custom_anchor]test[/anchor]

it adds #custom_anchor to the link, but it does not move to that position.
Reply
Jump to the post that solved this thread.


Messages In This Thread
creating a custom mycode for an anchor tag - by metulburr - 2016-12-02, 12:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)