Questions tagged [formatting]
The formatting tag has no summary.
20 questions
4
votes
1
answer
133
views
Please enable the new Copy Button feature on Unix & Linux
One of the features added in the October 2025 Community Asks sprint is a Copy Button for code blocks:
Copy Button on Stack Overflow - As of
today, users will be able to copy blocks of code directly ...
4
votes
2
answers
163
views
Requesting guidance - correct use of backtick formatting in manpage titles/links
This question makes two references to the veth(4) manpage.
The first one links to veth(4) but does not use inline formatting for the manpage title.
The second one does not link, but does use inline ...
2
votes
1
answer
116
views
Bogus rendering when <br/> or <br> tags are preceded and followed by newlines
Seen at: https://unix.stackexchange.com/revisions/34012/3 with Firefox on Ubuntu 20.04,
<br/>
text `code` **bold**
more text
Renders as:
Instead of:
The generated HTML is:
<br/>
text `...
0
votes
0
answers
77
views
I tried to post a question but the preview became garbled
newbie here !
I pasted a text with my question and several parts of code and tried to mark them, and posted it but when I edited it to correct a typo the marking was distorted and several codes ...
13
votes
3
answers
297
views
Editing: command tools format
When I'm going to edit a Q/A, often I find that command tools such as awk, grep, sed are not highlighted or formatted in any way, even from high rep users (which could be just that they missed it).
...
2
votes
2
answers
230
views
Markdown help: escaping intendation in lists for code blocks
Lists are nice
Because they help bringing order and readability into a post.
They may also be titles
Which helps with quickly skimming answers, too.
However,
The intendation is also needed for ...
17
votes
3
answers
368
views
Should keys represented with <kbd> tags be always uppercase?
Should keys represented with <kbd> tags be always uppercase?
In this edit to "Delete from cursor to end of line in vi" d$ was changed into D$. I thought the answer was incorrect since ...
15
votes
0
answers
297
views
TAB not preserved in code blocks
Mangling code or tab separated data:
This is tab delimited data
Rendering of code blocks break tabs.
This is bad for example
for code that require tabs (Example).
for posts where users paste ...
17
votes
1
answer
254
views
Our site has been migrated to CommonMark
Just a note for people who might not have paid attention to the Meta Stack Exchange posts, but do pay attention to our meta: the migration to using CommonMark for Markdown syntax for our corner of ...
6
votes
1
answer
2k
views
proper way to format a terminal command and its output for posting on the site
I'm wondering if there's a suggested way to format a terminal command and its output for posting on the site. For example, the Markdown code
```
user@host:~$ date
Sat Apr 13 12:50:49 PDT 2019
```
...
7
votes
2
answers
504
views
tutorials/guidelines on posting
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 ...
5
votes
3
answers
178
views
Incorrectly rendered code blocks look fine in edit view
I came across this answer, which in my browser is rendered as:
I.e. code blocks are rendered as if they were enclosed in ``.
But if I try to edit it, what I see is:
Code blocks are already enclosed ...
4
votes
5
answers
293
views
4-space indentation never works
Whenever I ask a question, on the right side jumps out a pink block 'How to Format', which tells me 'indent code by 4 spaces'. I tried putting four spaces before my code, but it never makes any ...
1
vote
2
answers
143
views
Should We Use Title Case for Titles?
This question was updated with the reason "Make title readable.".
The title was changed from How Can I Output File Size In Bytes AND MB? to How may I output file size in both bytes and MB?
So is it ...
-1
votes
1
answer
105
views
Suggestion to use 'bash' as syntax highlighting for text processing related tags
I recently came to know that we can use
<!-- language-all: bash -->
or
<!-- language: bash -->
for manually adding syntax highlighting. It is also mentioned in: https://unix....