All Questions
Tagged with code-formatting inline-code
13
questions
3
votes
0
answers
35
views
Inline code formatting tries to escape the page! [duplicate]
I was going through the First Questions review queue, and was given this review. I don't think the inline code block should render like that. Even though the OP should have used a code block, I don't ...
11
votes
0
answers
97
views
Please have same background color for indented code and inline code
In this answer I included both indented code, and an inline codeblock. (Yes you may blame me for abusing code make-up for something that isn't technically code)
They both have a different shade of ...
4
votes
0
answers
46
views
Double back slashes escape code formatting in comments (but not answers) [duplicate]
I recently posted on answer on Stack Overflow which mentioned the discrepancy between windows and linux path separators in the answer. I enclosed both in inline code snippets like so: \\ and /. These ...
5
votes
2
answers
10k
views
Bold or italics in Markdown inline code [duplicate]
I would like to add bold (or italic) text to inline code (not a block of code). So in one **two** three, I would like "two" to be bold rather than surrounded by asterisks.
Note: This is a similar ...
3
votes
1
answer
11k
views
Can't add code to comment
I am trying to add code to my comment using inline code in backticks, but it doesn't work for the below path:
\Users\user_name\AppData\Local\Packages\Microsoft.MicrosoftEdge_xxxx\AC\#!001\Mi...
7
votes
0
answers
128
views
Display a warning when backticks are used incorrectly to format text as code
This is a follow-up of a previous discussion.
Recently I have seen several comments that use code formatting (with `…`) instead of emphasis (with *…*) in order to format some text.
On one hand, ...
4
votes
1
answer
105
views
How to prevent users from emphasizing text in comments as "code" instead of "emphasis"?
Recently I have seen several comments that use code formatting (with `…`) instead of emphasis (with *…*) in order to format some text.
This is not correct since the text is not code and this results ...
1
vote
0
answers
28
views
Using inline code formatting [duplicate]
Shouldn't inline formatting be used only for code? Recently a lot of people apply it to non-code blocks like:
Frameworks: Bootstrap, Backbone.js, AngularJS ...
UI elements, when a user says logout ...
132
votes
5
answers
4k
views
Inline Code Spans should not be used for emphasis, right?
When reviewing Suggested Edits on Stack Overflow, I often come across "fixed formatting" suggestions that use inline code spans to place emphasis on certain keywords, but isn't actual code.
For ...
3
votes
1
answer
4k
views
Can you put code snippets in comments?
I tried to do this today, and whenever I hit Return to get to the line where I want to put the comment, the editor thinks I'm done with the comment as if I'd hit Enter to mean "I'm done", instead of ...
3
votes
1
answer
1k
views
"Inline code" button for the editor
I see bold and italics button but no inline code while it uses quite an uncommon syntax (back ticks, `` - the syntax is good, just not very obvious). It would be convenient to have this button.
...
33
votes
8
answers
1k
views
Formatting of inline code is ugly and can result in river-like patterns when used frequently
This has bothered me for a while... Ever since the bulky padding and gray background were added to <code> elements, really. But I kept hoping I would get used to it...
...I didn't. It's ugly, it'...
15
votes
5
answers
736
views
Code-Coloring for Inline-Code in Answers
Is there a reason that inline-code (with ``, of course) in answers is excluded from the prettify-process?
Sometimes a piece of code is a bit too small to be blessed with its own blockquote, and so ...