All Questions
Tagged with code-formatting comments
55
questions
9
votes
0
answers
159
views
Colors of code-formatted text in comment help is difficult to read
The new color scheme on the collapsible help section when adding a comment is very difficult to read for the highlighted sections. The new darker highlight does not have enough contrast with the black ...
3
votes
0
answers
60
views
Code background can overflow comments [duplicate]
Look at this:
I think that overflow is due to the following CSS rule:
code {
white-space: pre-wrap;
}
Changing it to the following seems to fix the issue:
code {
white-space: break-spaces;
}
...
3
votes
0
answers
48
views
Comments with `code ticked` text with large spaces seems to leak onto other parts of the page [duplicate]
I posted a comment on Stack Overflow with the following text:
@DougMaurer that command returns `Cmdlet Get-PackageProvider 1.4.8.1 PackageManagement`
It ...
2
votes
0
answers
24
views
Display bug on code block in comments [duplicate]
I noticed this display bug on a comment, where the spaces inside code block is extended well past the comment width, and well beyond the content width as well, bleeding into the margins.
-10
votes
1
answer
82
views
How to format my comments that pasted a few lines of code? [duplicate]
How can I format my comments? For example, I've pasted a few lines of code (with new lines, spaces etc.) but it looks very ugly.
-7
votes
1
answer
67
views
Answer comment cells need text formatting [closed]
I noticed certain keywords for text formatting are ignored in the app, e.g. code tags
See attached image for reference.
App Version: 1.6.6.2
Device: iPhone 7 Plus
OS Version: Version 13.3.1 (Build ...
9
votes
1
answer
394
views
Why is double space replaced by single space when enclosed in backticks in comments?
I was trying to put a small line of code in a comment, but I noticed that the multiple spaces in the comment enclosed in backticks(`) were replaced with single ones.
To make it clear, I wrote this as ...
8
votes
2
answers
810
views
How to type italics or bold inside code in a comment
How can you put italics or bold inside code in a comment?
For example, to produce normal italic in a comment I've tried
`normal _italic_`
`normal `_`italic`_
<code>normal _italic_</code>
...
3
votes
1
answer
81
views
Another user updated the code snippet on my answer & it's incorrect/introduced an error. What's my course of action?
Another user updated the code snippet on my answer & it's incorrect/introduced an error. What's my course of action?
I can't seem to send them a message, so do I have to manually fix their edit? ...
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 ...
1
vote
0
answers
39
views
How do I write a comment which contains commands that contain the character ` (backtick)? [duplicate]
I would like to use in a comment the following command:
How can I do that so that character " ` " before and after the word "Private" is visible?
1
vote
1
answer
71
views
Is there a way to include formatted text to a comment? [duplicate]
Is there a way to include formatted text to a comment?
By that I mean adding formatted source code, or literal text, as well as new lines, that is, starting new paragraphs on new lines.
1
vote
0
answers
64
views
Set space after inline code environment which ends with a space in comments [duplicate]
When writing comments, it is possible to write a space after the last character of the code so that it looks like A:<space>. When writing it within a question, however, it does not work.
But ...
3
votes
2
answers
74
views
How do I write code with comments in it?
I wanted to edit this answer, because there is a code comment (that starts with /** and ends with */) in the code, and that's why code wasn't shown properly.
But selecting the whole code and marking ...
1
vote
1
answer
72
views
Editing comments with inline code removes code markers and triples the text
Sorry for the long title, but I think it aptly describes the problem.
For an example, on this answer on the PPCG meta, I commented the text:
I made a bunch of edits, feel free to roll back any ...