3

How to write code when asking a question in the Stack Exchange mobile app?
For example, on the computer, we arrange code by just pressing Ctrl+K.
What should I do in the mobile app?

3

In the Stack Exchange app, there is a 'format' button for this purpose above your keyboard. First, select the piece of text you want to indent by four spaces; then, click the button.

Test
Test
Test

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .