As of May 31, 2023, we have updated our Code of Conduct.
7 votes

How should I paste from my terminal?

✅ Please use code fences. Here's how to do it: Copy/Paste directly from your terminal into the editing box on Ask Ubuntu. Do not make any alterations to the text you just pasted. Add a new line ...
Nmath's user avatar
  • 12k
5 votes
Accepted

List of "languages" to be used in "preformatted" code blocks for "Syntax Highlighting"

The answer is here: What is syntax highlighting and how does it work? Note that lang-plaintext or lang-none explicitly disables syntax highlighting. Quote from post edited 30 Aug, 2022. Language ...
Artur Meinild's user avatar
5 votes
Accepted

How do I add files to posts?

You cannot attach a file, like you would in email. That isn’t supported. You have a few options: Use a pastebin - there are many if you search, Ubuntu also has one. Do read the note about pastebins ...
cocomac's user avatar
  • 2,927

Only top scored, non community-wiki answers of a minimum length are eligible