Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

9
votes
1answer
113 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), ...
4
votes
1answer
70 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:...
2
votes
0answers
107 views

Preformatted text horizontal scrolling - bug or feature?

AskUbuntu help recommend to style pre-formatted text and console output with #four spaces But sometimes it results in scrolling text. See this question as an example. The problematic line (as ...
12
votes
2answers
246 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 ...
-3
votes
2answers
61 views

Presentation of code should include explanation in a separate comment section

This is just an idea and I would like to see what the feedback is. The problem Starting Linux I've found myself many times looking through example code on this site and finding out what it actually ...
7
votes
2answers
37 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?
5
votes
1answer
69 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.
7
votes
1answer
80 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, ...
4
votes
1answer
75 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 ...
9
votes
2answers
419 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 ...
1
vote
0answers
18 views

How to input/type buttons on posts? [duplicate]

I have tried multiple times to find the "button" button in order to convert e.g. Ctrl-Alt-F1 to button sequence. Can anyone help me? I tried to find it in the desktop version of Ask Ubuntu and on the ...
3
votes
2answers
75 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 ...
16
votes
1answer
287 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 (...
-3
votes
1answer
129 views

Can someone elaborate for me the rule on using the back tick for emphasis? [duplicate]

Is there a rule against which markdown codes are allowed in formatting text for easy reading? It's my impressing that a lot of text that is displayed that isn't code is displayed using code tags to ...
2
votes
1answer
83 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 ...
1
vote
0answers
33 views

Formatting bug: preview doesn't look the same as the published question or answer [closed]

In answering a question earlier today, I used some funky formatting. While this formatting might not be the best way of doing things, there is still a bug where the preview question doesn't look the ...
8
votes
3answers
124 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 ...
1
vote
2answers
22 views
7
votes
1answer
156 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 ...
2
votes
1answer
78 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 ...
9
votes
4answers
186 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 ...
-5
votes
3answers
295 views

Proper use of Bold and Italic text in posts?

I would like to make this post to specify "proper" methods of bolding/italicizing text in questions and answers to keep the site clean and easy-to-read. Partially based off of my other question on ...
5
votes
1answer
82 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 ...
15
votes
1answer
161 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 ...
1
vote
1answer
89 views

BBcode on Ask Ubuntu

Can somebody please explain how to post CODE in here? I followed this thread http://ubuntuforums.org/showthread.php?t=1189729 but it doesn't work for me. I copy and paste a code from Terminal and ...
4
votes
1answer
87 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?
4
votes
0answers
59 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, ...
10
votes
1answer
179 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 ...
7
votes
1answer
111 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, "...
6
votes
1answer
86 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 ...
7
votes
2answers
153 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 ...
2
votes
2answers
53 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 ...
4
votes
1answer
62 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 ...
8
votes
1answer
118 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 ...
1
vote
3answers
60 views

Where to put bounty information?

Sparked by a chat discussion about this question, I think we should think of a way to put some order to bounty information. What information is interesting? Sometimes, one would like to include ...
4
votes
3answers
1k 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 \`...
1
vote
1answer
54 views

Is Ask Ubuntu using reStructuredText?

It might be an obvious question for those who know, but I can't find an answer to it. Recently, I started working with sphinx which uses reStructuredText. It somehow looked familiar to Ask Ubuntu's ...
3
votes
1answer
210 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, ...
0
votes
0answers
24 views

How to display keys and tags? [duplicate]

Possible Duplicate: How to use keyboard 'icon' in markdown? How do you display buttons on keyboard eg: Control, Alt etc. in your discussion? I have seen many people even displaying tags. ...
5
votes
2answers
58 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 ...
3
votes
1answer
143 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 ...
7
votes
1answer
423 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 ...
0
votes
1answer
70 views

How do I get the button icons? [duplicate]

Possible Duplicate: How to use keyboard 'icon' in markdown? I've seen in some questions or answer that people are able to turn 'alt' or 'shift' into little button icons that say the name ...
6
votes
1answer
101 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 ...
2
votes
2answers
117 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, ...
5
votes
3answers
440 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 ...
7
votes
2answers
105 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).
1
vote
2answers
540 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. ...
2
votes
1answer
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.
18
votes
2answers
3k 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 ...