|
I recently wrote a new article[^] and some DotNetDev suggested I write a ToC for it as the article is quite big.
So I did exactly that and the result is quite satisfying.
Then that DotNetDev suggested I make it clickable[^], so the ToC links to the sections in the article.
Great idea! But what he did not tell me (yet) is how to do it...
So I'm wondering how I can achieve this effect? Have a link in my article point to a specific point in my article.
Thanks.
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|
|
You need to create an anchor target, and your href will link to that. See here for more details.
|
|
|
|
|
Thanks, that was actually pretty easy!
Edited my article right away.
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|