Z
Z
zxc7532020-11-10 21:02:02
Habr Q&A
zxc753, 2020-11-10 21:02:02

How to indent qna.habr.com comments?

How to indent when writing comments on this site? To make the code easy to read.
An example "code" is below.

XButton2::
{
    Loop
    {
        send {WheelDown}
        if !GetKeyState("XButton2", "P")
        {
        break
        }				
        Sleep 50				
    }
}


If you could provide a link to other tricks like spoilers, bold font, etc., that would also be extremely helpful.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DevMan, 2020-11-10
@zxc753

button </>in the editor.

T
Timur Pokrovsky, 2020-11-10
@Makaroshka007

5faad6e411c1a077117685.png

X
xmoonlight, 2020-11-10
@xmoonlight

https://beautifier.io/ (if initially everything is without indents) and then - to the Button
tag :code</>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question