Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
7 votes
1 answer
131 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
  • 12.3k
5 votes
2 answers
348 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.5k
6 votes
1 answer
75 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,101
3 votes
2 answers
118 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,181
9 votes
0 answers
166 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
  • 71.6k
0 votes
0 answers
65 views

What kind of text formatting is possible in reply of the question in Ask Ubuntu? [duplicate]

I'm a newbie on Ask Ubuntu. I can use the text formatting in the body of question in Ask Ubuntu. Then, what kind of text formatting is possible in reply of the question? I did not find such ...
Hongsoog's user avatar
  • 101
12 votes
1 answer
179 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,853
6 votes
2 answers
50 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,181
4 votes
1 answer
86 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
6 votes
1 answer
99 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
4 votes
1 answer
201 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,177
1 vote
0 answers
23 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 ...
na-no.'s user avatar
  • 846
3 votes
2 answers
115 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,871
2 votes
1 answer
377 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
8 votes
3 answers
178 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
  • 283
1 vote
2 answers
24 views

Full documentation on formatting?

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.5k
9 votes
2 answers
209 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,110
4 votes
1 answer
71 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.4k
4 votes
1 answer
282 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
0 votes
0 answers
34 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. ...
Chirag's user avatar
  • 2,099
0 votes
1 answer
75 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 ...
David Oneill's user avatar
  • 12.4k
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,667
6 votes
5 answers
651 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
2 votes
2 answers
643 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
31 votes
2 answers
9k 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,869
7 votes
1 answer
344 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
  • 77.8k