R
R
Roma2016-06-07 18:55:43
Habr
Roma, 2016-06-07 18:55:43

How to use "anchor" on Habré?

Colleagues, please tell me how to use anchor when writing an article on Habré/Geek?
The help says:

<anchor>Example1</anchor>
Тег для указания якоря. Для вызова используйте тег вставки ссылок (<a href="#Example1">Текст</a>).
but it doesn't work :(
Maybe someone knows how to get out?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VanishMax, 2018-12-08
@VanishMax

The anchor on Habré sets the ID of the block or text. Therefore, in any place of the text, add: A
link can be added like this:

// Для HTML
<a href="#block_id">Ссылка</a>
// Для markdown
[Ссылка](#block_id)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question