S
S
Stanislav Silin2019-06-02 13:28:34
Habr
Stanislav Silin, 2019-06-02 13:28:34

How to embed a video/expander into a Habr article using Markdown?

I am writing an article on Habr and it is not clear how to insert a video and expander into an article on Habr using Markdown. Tricks through the insertion of html in the preview look broken.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Bumburum, 2019-06-28
@byme

Unfortunately, the markdown markup does not have all the tags available in the html version. But it is not forbidden to insert html tags in markdown markup :) Therefore, insert it like this:
(instead of ID, there should be a video ID, the ability to insert should be enabled in the video settings)

<spoiler title="Для любознательных">Информация для любознательных</spoiler>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question