Not so long ago,
Finom posted a blog
post “
Working with local storage as with an object - Continued ” and used the novelty of Habrahabrow markup: the
<spoiler> ...
</ spoiler> element in it. It turns out that this element is already documented in the help
for HTML tags (in the upper right corner above the edit field of blog entries) and can be used indiscriminately in Habrahabr (though not everywhere: it does not work in comments).
This novelty is used in about this way:
<spoiler title=" "> . , — , : <a href="http://danbooru.donmai.us/post/show/951110/"> <img src="http://i46.tinypic.com/30axitk.jpg" alt="[V for Vendetta]" title="" border=0></a> </spoiler>
The result of the code in this example is as follows:
The heading of the convolvable elementThe content of the convolvable element.
')
Not only the text, but also other elements of the hypertext can be hidden, for example, images and hyperlinks:
![[V for Vendetta]](http://i46.tinypic.com/30axitk.jpg)
The title can be clicked with the mouse - and the minimized content will immediately unfold. The next mouse button on the title will bring the contents back to the collapsed state.
As you can see, this is a valuable alternative to the habrakat: now you can hide not only the tail of the blog recording, but also a part of its middle, and to deploy such a hidden piece there is no need to switch to another page and waste time and traffic to load it along with comments.
By the way about habrakate. The limit of a free-of-charge blog recording has been increased: before it was possible to post a blog recording of no more than 600 characters long, and now no more than 1000 characters. And this is correct, because the former bed was too procrustous.
Useful, useful changes for the better.
Important appendix: RSS is not, of course, no javascript, so that all spoilers are displayed in expanded form, and their headlines simply become the text of high fat content from the new line. Keep this in mind.