7

I'd like to have some link on tutorials on how to post on this site. Whenever I post something containing code someone else (possibly moderator) is re-editing and re-formatting my post. Where can I find guidelines describing how to post on this site?

1
  • 2
    Thanks for your question! I migrated your question to our Meta site. This is where we ask or discuss issues relating to the Unix & Linux site.
    – Kusalananda Mod
    Apr 7, 2019 at 21:54

2 Answers 2

16

Moderators could well do editing, but there's only a few of us, and there's a lot of other users that edit questions too. Editing is done to correct formatting issues that otherwise would potentially make a question (or answer) challenging to read, and sometimes we correct spelling mistakes and grammar, or we move clarifications from comments into the main body of the question or answer, or correct typos in code (if appropriate), etc.

Our (the community of users') intention is to provide questions and answers that are easy to read and understand, and we hope you don't take offence from any edits made to your contributions. A question that is easy to read and understand is more likely to be answered and more likely to be of use to others with the same or similar issues.

For more information about that, see our article about editing in the Help Center: https://unix.stackexchange.com/help/editing


You have a toolbar with formatting tools at the top of the editing window when editing your question or answer. The tool you'd want to use for formatting code or other preformatted text is the {} icon. Select a piece of text that is code, and click the {}.

Screenshot showing some formatted code

You may also manually quote your inline code fragments using backticks (`), indent your multi-line code by four spaces, or surround it with triple-backticks (```). The triple-backticks should be on lines of their own.

Example:

    this is a
    code block

or,

```
this is a
code block
```

and,

That is inline code: `This is inline code`.  That was inline code.

There is also a question mark in a circle in the top right corner of the editing window. Clicking this will make the toolbar slightly bigger, revealing some headings that will give you short help texts on different topics if you click on them. It will also give you a link saying advanced help. The page that this link takes you to should provide most, if not all, the information you would even need for adequately formatting your posts on this site.

Screenshot showing the help toolbar


For information about posting on this site (asking and answering) and about the site in general, see the other articles in the Help Center.

If you haven't done so already, you may also want to take the tour.

8

Partly echoing Kusalananda's words, I would add a couple of remarks I hope can be of help.

First, don't take edits personally.

The Stack Exchange platform aims to be unique1:

This design choice works well in producing both high quality content and initially puzzled users.

Yes, your questions belong to you and, yes, answers should try to solve the issues you are asking for help with. But to some extent they also belong to the community2. Stack Exchange's wiki part wants questions and answers to be useful to the public. Thus, users take a collective effort to improve posts' accuracy, readability and clarity. This is an important asset of the Stack Exchange network.

Also, please don't take edits to your posts as indications that you did something wrong. They are often both an enforcement of guidelines and a relatively subjective attempt to improve posts in light of the above.
Make sure you read the resources listed in Kusalananda's exhaustive answer, but note that no tutorial will guarantee that your posts will not be edited. The best way to learn how to write effectively is probably to read around on Unix & Linux, especially looking at edits by other users.

Finally, overzealous edits sometimes just happen. They are likely a small friction this system needs to work well. Getting used to live with them is probably the best idea.

Additional resources (many are linked from the FAQ on Meta SE):


1 This used to be the image shown on the tour/about page of each site on the SE network; and it is still there, just... hidden.
2 As a practical example, you cannot delete a question you posted if it has an accepted answer or an upvoted answer or more than one answer; see this FAQ on Meta SE for the full details.

1
  • "overzealous edits sometimes just happen", particularly with keen users who've discovered a relatively easy way to boost a low personal score
    – roaima
    Sep 20, 2021 at 14:16

You must log in to answer this question.

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