How to create in-page references #585
-
Hello! While using the Hugo-learn theme I was able to have in-page reference links by doing the following. I have this since I have a table of contents at the beginning of each page and each page is relatively long to scroll through, so having these links help. However, this same code doesn't work with the relearn theme.
Does anybody know how to enable this? Or what is the right way to code this in the new relearn theme? I went through the relearn documentation, but didn't find anything. Apologies if there is documentation and I missed it, if you could point me to it that'd be awesome! Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Your example works for me in the Without seeing your code it's hard to say whats wrong. I suppose you are either using a different Hugo version and/or other config settings in your |
Beta Was this translation helpful? Give feedback.
-
Without seeing your complete project nor the resulting output I would assume you haven't set Goldmarks |
Beta Was this translation helpful? Give feedback.
-
Without a link to your repo I can't help you |
Beta Was this translation helpful? Give feedback.
Without seeing your complete project nor the resulting output I would assume you haven't set Goldmarks
unsafe=true
setting.