Answer the question
In order to leave comments, you need to log in
How to add anchors for links inside an article in hexo.io (static site generator)?
Good afternoon.
I recently started using static site generators and settled on hexo.io.
Works great.
But I can't seem to find how to create links to shortcuts inside an article.
More precisely links are created. How to make anchors.
For what? Everything is simple! I need a mini table of contents inside the article.
How did I already try to solve this problem: I tried to install the plugin hexo-renderer-haml , but the code
%strong{:class => "code", :id => "message"} Hello, World!
%strong.code#message Hello, World!
Answer the question
In order to leave comments, you need to log in
Might be stupid, but try this:
{% rawblock %}
<b id='message' class = 'code'>content</b>
{% endrawblock /%}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question