Questions tagged [formatting]
The formatting tag has no usage guidance.
18
questions
1
vote
1
answer
72
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
59
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
235
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
103
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 ...
16
votes
3
answers
297
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
248
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 ...
16
votes
1
answer
221
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 ...
5
votes
1
answer
970
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
448
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
112
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
197
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
82
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
62
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....
7
votes
1
answer
51
views
Why doesn't search find my answer?
To give Bond eth0 and LTE Modem a pointer, I was trying to find a previous answer I knew I'd written about how we use multiple ISPs at work. I was also going to point to some other folk's answers, but ...
6
votes
1
answer
77
views
Regarding links to U&L questions in answers, and the way they do/don't expand to the title of the question
I sometimes refer to "canonical questions" in my answers, and I've noticed that while I'm writing the answer, the preview of the text shows the actual title of the linked question rather than the URL, ...