Questions tagged [formatting]

Formatting could mean the form and layout of any text or any other type of document. Formatting could also imply the preparation of storage media for accepting data. This would mean Formatting is the synonym of Formatting.

Filter by
Sorted by
Tagged with
30 votes
2 answers
8k views

How to use keyboard 'icon' in markdown?

Guys, I was looking in a question when I found a different way to markup keyboard (combination of keys) to express commands. I cant found a previously answer about Markdown (except this, but not ...
crncosta's user avatar
  • 2,839
16 votes
1 answer
179 views

Formatting, backticks and editing

This was a concern raised in UL some time ago, but recently I've seen several cases where I've changed the use of backticks, I will ripoff strugee post from UL: I've noticed that a lot of new users ...
Braiam's user avatar
  • 67.7k
15 votes
1 answer
322 views

Please don't use underscores for formatting

SE Markdown supports both underscores and asterisks for marking italics and bold: _foo_ __foo__ *foo* **foo** foo foo foo foo However, the SE editor (both in browsers and apps) only recognises (...
muru's user avatar
  • 198k
12 votes
1 answer
178 views

Can't format question properly because of character limit

I have a problem with editing this question: Upgrade to 18.04, now sudo apt-get upgrade produces loads of insserv errors OP didn't format the terminal output (which as you can see, is really long), ...
damadam's user avatar
  • 2,813
11 votes
3 answers
221 views

Code formatting: backticks or four spaces?

Code segments can be formatted by either starting the line with four spaces or by enclosing the code in backticks. What is the reason for using one over the other? The reason I ask is that my ...
Carl H's user avatar
  • 6,171
11 votes
2 answers
312 views

Should the keys be written in uppercase?

Could you please explain about the usage of keys in Ask Ubuntu? Should the keys be written in uppercase (CTRL) or only the first letter should be in uppercase(Ctrl)? Is there any difference or both of ...
user avatar
10 votes
2 answers
240 views

Standards for editing

I've being an active member of AskUbuntu and Unix & Linux for some time now. As such, I often edit Q&As. But I'm lost in some aspects and details of specific editing standards. This post and ...
schrodingerscatcuriosity's user avatar
10 votes
1 answer
202 views

Using <pre> tags vs 4 space indentation

Which should be used to format a block of text in code (monospace font). I personally believe that manually indenting each line of long console output or a log file can be very slow and repetitive, so ...
kiri's user avatar
  • 28.2k
10 votes
2 answers
453 views

What should I do when a user persistently insists on poor formatting and resists formatting improvements?

Context: https://askubuntu.com/posts/971884/revisions I edited an answer of a user who got distracted and forgot the Markdown syntax, using 1) instead of 1. for writing an ordered list. Therefore the ...
Andrea Lazzarotto's user avatar
9 votes
2 answers
208 views

Formatting a comment

Is it possible to format a comment, as in, include blockqoute like properties? I've noticed that the help mentions that 'code' can be used for code, but it doesn't seem to make a difference. Either ...
Projjol's user avatar
  • 1,100
9 votes
2 answers
148 views

Suggested improvements to "Markdown help" and formatting help

On Ask Ubuntu we have a lot of questions and answers that include multiple lines of terminal output which is best handled by using code fences. Without formatting, this information is difficult to ...
Nmath's user avatar
  • 12.3k
9 votes
0 answers
161 views

Code fence formatting problems to watch out for and fix

Since the start of 2019, code fences have been fully supported on Stack Exchange sites. By code fences, I mean the use of opening and closing triple backticks to format a code block. The effect of ...
Zanna's user avatar
  • 70.4k
8 votes
3 answers
173 views

Unexpected formatting with code in list

I posted a answer and below some list items the code content turned to other format different from what I was expecting. I tried to indent either by code button or manually but didn't work. Is It a UI ...
gwarah's user avatar
  • 273
8 votes
1 answer
123 views

When citing another user, how should her/his username be formatted?

E.g., I sometimes use bold-italics (***text here***) because it looks alright, and provide a link to what I'm quoting/citing. Alternatively, I could imagine to additionally linkify the username to ...
nutty about natty's user avatar
7 votes
2 answers
191 views

How do you handle questions that include Ubuntu pastebin links?

Ubuntu pastebin is a nice online tool for sharing formatted text between users, especially for very large log files for a short period of time, then it expires and is permanently deleted. Stumbling ...
Pizza's user avatar
  • 1,428
7 votes
1 answer
445 views

A request for all Ask Ubuntu users [duplicate]

About a week ago the Indian Government has Blocked(read Banned) a few sites,one of them is pastebin.com. I have seen a few people linking their errors to pastebin so I sincerely request them to choose ...
Ashu's user avatar
  • 9,472
7 votes
1 answer
118 views

What is the correct way to format search terms, button names, etc.?

What is the correct way to format terms which should be searched for or button names? Example: Search for "Settings" Click on the "System Settings" button Should an inline code span be used, "...
kiri's user avatar
  • 28.2k
7 votes
1 answer
103 views

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

When I enter a "preformatted" code block in a body of Q or A, I have the option to specify the language of this code like this: ```bash #!/bin/bash echo "something" sleep 10 exit ``...
FedKad's user avatar
  • 10.5k
7 votes
2 answers
115 views

Line break glitch with code tag

Line breaks with code involved leave a thin piece of the code formatting in the previous line: This only seems to happen with the Opera browser (ver. 11.00/11.01).
htorque's user avatar
  • 64.8k
7 votes
1 answer
114 views

how to add keys symbol & and software center package link in askUbuntu answer?

I know this very dumb question in Ask Ubuntu. I want to know how in this link the key symbols are attached in question and in this link (in answer section 2 question) how Ubuntu software center open ...
twister_void's user avatar
  • 5,924
7 votes
1 answer
162 views

Make blockquote formatting button not destroy the source layout!

You ever had a post in front of you where the OP did mix up blockquote and code formatting? Not those easy cases where he/she wrote a > character before the paragraph himself, but those cases when ...
Byte Commander's user avatar
  • 107k
7 votes
1 answer
343 views

What HTML and/or Markdown code is allowed in comments?

What HTML and/or Markdown code is allowed in comments?
ændrük's user avatar
  • 76.7k
6 votes
5 answers
643 views

How do I add images to posts?

How do I add images to a question, answer or comment. When I press Images on the top panel it says something like "Images are exactly like links..." and suggests adding the link to the image. But what ...
Vadim's user avatar
  • 1,378
6 votes
1 answer
96 views

Automatically wrapping lines in Ask Ubuntu

I'm new to forums and stuff like that. I need to post my wifi-info scripts output in Ask Ubuntu using Firefox and I need to keep it as it is without wrapping any lines. As soon as copy and paste it, ...
L_Cleo's user avatar
  • 101
6 votes
2 answers
44 views

Transcribing syslog and preserving the line breaks

I'm trying to copy a segment of my syslog to a question here. The problem is that all the linefeeds are lost when I do the copy, so the transcription is very difficult to read. How can I avoid this?
Paul A.'s user avatar
  • 2,141
6 votes
1 answer
88 views

How to guide readers to specific sections to a lengthy answer?

Have basically copied a wiki article as an answer to a question on main site but would like to add some form of Table of Contents at the beginning of the answer to guide readers to the part which the ...
geezanansa's user avatar
  • 1,560
5 votes
2 answers
59 views

matched parentheses in hyperlinks are not handled correctly

When a hyperlink contains a ( character that is matched at the end of the URL by a ) character, AskUbuntu should recognize that the final ) character is part of the URL. However, currently that is not ...
Eliah Kagan's user avatar
5 votes
2 answers
333 views

How should I paste from my terminal?

I am aware of the editing help topic, but I'm still not sure how I am supposed to format the text I copy/pasted from my terminal. I want to be able to share these details from my terminal and I want ...
Nmath's user avatar
  • 12.3k
5 votes
2 answers
144 views

How should sequential clicks/menu items be formatted?

What should the separator be? System > Preferences > Keyboard > Layouts > Apply System-Wide System → Preferences → Keyboard → Layouts → Apply System-Wide System --> Preferences --> Keyboard --> ...
ændrük's user avatar
  • 76.7k
5 votes
1 answer
62 views

How do I add files to posts?

I know how to add an image file in question post like this, but I need to add a very wide txt file and I am strugling for this. Please, what I'm missing ? If I click on image insertion button I can ...
Emilio's user avatar
  • 2,061
5 votes
2 answers
112 views

Use ISO 8601 or some localized format to display question, answer, edit, and comment dates instead of the "customary" M/D/Y

Date stamps are shown in a non-standardised format "mmm d 'yy": When you hover the pointer over the date, you get title text showing the date and time in ISO 8601 standard format: "yyyy-mm-dd hh:mm:...
Broadsworde's user avatar
  • 4,132
5 votes
1 answer
86 views

How to do code formatting within numbering or bullets?

When doing editing, in certain places I find difficulties to format codes those are within Numbering and Bullets. Example is this. What I did was cut and paste the line which needs code formatting to ...
user avatar
4 votes
1 answer
92 views

Has <key> been disabled?

I've noticed I'm not able to use key button formatting like <key>ESC</key>. Has it been disabled? And if yes, why?
s3lph's user avatar
  • 14.3k
4 votes
1 answer
68 views

Why does SE mess with the spacing in code blocks?

Why do code blocks delete double-spaces? Double-spaces are required in some code. Code blocks should not alter the text in them at all, because code sometimes has weird formatting. Example: compare ...
Yet Another User's user avatar
4 votes
3 answers
2k views

How do I escape backticks in a backticks command?

I found: "How do I escape backticks in a comment?", but I want to escape backticks, if I use backticks to format code in an answer. The following doesn't work: `sudo update-initramfs -v -u -k \`...
BuZZ-dEE's user avatar
  • 14.2k
4 votes
1 answer
194 views

How to properly add code in comment

How can I properly add a line of code in a comment like this test test I like it more grey than test test if that is possible. Or if there is another way to define code in a comment to make it ...
An0n's user avatar
  • 2,119
4 votes
1 answer
276 views

Is this syntax highlighting intended behavior or a bug?

I came across an answer earlier today which had code blocks containing some text portions in blue. Below is a screenshot of the beginning of the answer for convenience: I have never seen this before, ...
Knowledge Cube's user avatar
4 votes
1 answer
83 views

How do I use the grey formatting in a comment? [duplicate]

Someone showed me (by editing my question for me) how to make some of your text show up grey to show it is code. Now I need to know how to do it in a comment.
XqRG's user avatar
  • 1
4 votes
0 answers
64 views

Descenders in comments chopped off in Windows Chrome

In my browser (Chrome 29 on Windows 7), descenders are chopped off in comments, which makes it fairly annoying to read, as g's look like q's (most other letters with descenders are fairly unambiguous, ...
Nick T's user avatar
  • 2,483
3 votes
2 answers
125 views

Should abbreviations and acronyms be discouraged?

Sometimes, a question is not clear simply because it contains an abbreviation or acronym that a reader doesn't understand. I wonder if the instructions should encourage the definition of these things ...
ThunderBird's user avatar
  • 1,955
3 votes
2 answers
112 views

Is the <blockquote> tag working correctly on Ask Ubuntu?

I've been trying to use the <blockquote> tag to include literal output in this forum, but I cannot get it to work for me. My understanding is that if a chunk of text is surrounded by the <...
Paul A.'s user avatar
  • 2,141
3 votes
2 answers
112 views

How to find posts with html tags like <code>

I keep finding things with the <code> tag or the <pre> tag instead of four spaces or inline code formatting. I want to find these and fix them, replacing them with the better code ...
fosslinux's user avatar
  • 3,821
3 votes
1 answer
163 views

Why are people using Quotes instead of Code?

We use the dollar sign link for code and the " for quotes right, Why am I seeing code formated as quotes? One example is this answer https://askubuntu.com/posts/146792/revisions I have heard that ...
Mateo's user avatar
  • 8,104
3 votes
1 answer
97 views

Formatting guideline / convention for program names, commands, strings, values, (...)?

I usually highlight anything that should stick out from regular statements like a program name, a command, a string or a value by enclosing it between backticks, while I usually highlight something ...
kos's user avatar
  • 35.9k
2 votes
1 answer
109 views

Why does the little help box call them "backticks" when they're graves?

I've noticed that when the little help box appears to the side, it says to show code using "backticks" when they are called graves. For clarification, I am talking about these: `. I don't think that ...
Blue-Maned Hawk's user avatar
2 votes
2 answers
58 views

How do I format my code that it will be wrapped in a box with horizontal scrolling?

Usually when I need to post an error output or any code I use blockquotes and place the entire thing there. On two occasions my code has been edited and formatted in a way that it can be seen in a box ...
Projjol's user avatar
  • 1,100
2 votes
2 answers
633 views

How do we create letters with dash over them? (strikethrough or strikeout)

a) With GNU/Linux OS & Ubuntu in general in text editors b) Specifically for askubuntu.com as to imply that the text is deleted (edited later) c) or as an html formatting in a broader sense. ...
marenostrum's user avatar
2 votes
1 answer
362 views

How do I put scrollable preformatted / code blocks in my question?

This may seem like a simple question, but how do I put a box of scrollable code or preformatted text in my question or comment on AskUbuntu? It would be great if this question and the answer ...
jenboi's user avatar
  • 111
2 votes
1 answer
120 views

HTML in questions but not comments?

Why is it that we can use HTML markup and entities in questions but not in comments? Shouldn't they be the same? Testing markdown here, italic, bold... well, that seems to work.
koanhead's user avatar
  • 6,507
2 votes
2 answers
131 views

Code tag/code highlight problem in sub-comment on askUbuntu mainpage

I am wondering, why code tag and bold text option which both work perfectly fine in full comments doesn't work in sub-comments, like shown in the screenshot below, using the same syntax?! Sometimes, ...
v2r's user avatar
  • 9,547