I want to access this site say, https://en.wikipedia.org/wiki/Cricket#History
Now I want the specific section 'History' to be shown as soon as I open the link
In overleaf I did this, \href{https://en.wikipedia.org/wiki/Cricket#History}{link} But it gives me this error -> llegal parameter number in definition of \Hy@tempa, and when I open the link after compiling even if it get an error I get this -> https://en.wikipedia.org/wiki/Cricket##History, 2 '#' and is wrong
How do I fix this?
\urlcommand that is used by the\hrefcommand internally, you should be able to use#for the URL just like this. There might be a situation where this does not work, but then you should be able to use\#instead of#(which still will become#in the link in the final document).\hrefcauses error