Questions tagged [markdown-rendering]
Questions relating to the rendering of markdown. Use this tag when something is rendering different from the way you expect it to, among other things. Most uses of this tag should also have the tag [markdown].
156
questions
4
votes
1
answer
79
views
Possible bug rendering a number of HTML sup/sub tags [closed]
Regarding my answer to the question here, it appears there may be a rendering bug.
In the third-last paragraph (only two other paragraphs following it in case that's an Australian phrase), I have a ...
4
votes
1
answer
60
views
Inline code with too much whitespace inside quotes escapes its container
Here's an example:
int main(void) { puts("This is just a test to demonstrate
the issue bla bla bla bla bla ...
8
votes
1
answer
139
views
The language identifier example in the "How to format" box doesn't work for python
Currently, the "How to format" box in the edit window has the example language identifier
```python
def function(foo):
print(foo)
```
Which produces the non-hilighted output
def ...
14
votes
1
answer
369
views
Code block rendered incorrectly at question but correct in edit window
I came upon this question. On a first look I thought that the code was formatted with a backtick starting and ending every line:
I decided to correct this but when I clicked on edit I saw that it ...
5
votes
0
answers
84
views
Markdown escape of backquote doesn't work in comments [duplicate]
This doesn't work in comments on Stack Overflow but works in answers and questions:
`` (let ((name (gensym))) `(list `(list ,,name)))``
It give this output in question/answers:
(let ((name (gensym))...
16
votes
1
answer
400
views
Link with round brackets looks good in preview, but broken after submitting
The link [Wolfram Alpha](https://www.wolframalpha.com/input/?i=nextprime((10%5E32)%5E2) looks fine in preview, but is broken after submitting the question or answer:
A workaround is to use the [...][...
3
votes
2
answers
101
views
How can I mark <italic><bold><italic> (why doesn't `*italic***bold***italic*` work)?
I was able to put it all in the title:
How can I mark (why doesn't *italic***bold***italic* work)?
It produces: *italic***bold***italic*
Is that a bug or just poor design?
17
votes
1
answer
542
views
Indentation of tabs and spaces is inconsistent in Stack Snippets
When I write code using JS/HTML snippet editor (orange icon):
and paste code which contains one or more tab () characters as line indentation, then the snippet editor shows me this:
The same code in ...
15
votes
2
answers
653
views
'#' character rendering in output instead of making a heading
The little stack overflow help menu says:
Use hash marks if you need several levels of headers:
# Header 1 #
## Header 2 ##
### Header 3 ###
The # character (pound-sign or hash-tag) is meant to be ...
10
votes
0
answers
174
views
Formatting error in indented bullet list with sublist and non-list members
The following renders incorrectly for me:
A bulleted list item
A bulleted sub-list
... followed by a paragraph which is indented to be underneath the top-level bulleted list.
Here's how it's ...
15
votes
2
answers
472
views
Square brackets before a link cause incorrect link parsing [duplicate]
Here, I tried to write a sentence
Use java-10 [local variable type inference]1 ...
but it didn't get parsed well, so I had to add an extra space after the tag
Use java-10 local variable type ...
11
votes
1
answer
168
views
Bolding text not working consistently between preview and final
I noticed that if I bold something and it is not surrounded by white space it does not bold in the final text. Though it does bold in the preview while I am editing.
What I typed:
(**$**C2)
Which ...
1
vote
0
answers
87
views
Why are bullet points breaking my code blocks? [duplicate]
When I type this:
- There are no errors in the console log.
- No errors when ran through JS Hint
- Chrome debugger shows the code executed
- Chrome Elements tab does **not** show the styles as loaded
...
143
votes
2
answers
1k
views
Underline in [`code`](links)
Apparently links are now underlined. While I'm personally not a big fan of this, this seems to be a design decision.
However, code in links is underlined as well. This makes it rather hard to read.
...
13
votes
1
answer
160
views
Inline tags (inserted by [tag:] markup) are now underlined
I've just noticed that tag names inserted by [tag:tag] markup (tag), have become underlined:
I've tracked this to https://meta.stackoverflow.com/content/Sites/stackoverflowmeta/primary-unified....
4
votes
2
answers
171
views
Why is '®DataType' rendered as '®DataType' in a <pre> block?
Post.
My Browser: Chrome Version 67.0.3396.99 (Official Build) (64-bit)
BUG: (in his code)
regPropSuccess = SetupDiGetDeviceRegistryProperty(hDevInfo, &devInfoData,
SPDRP_DEVICEDESC, ®...
20
votes
1
answer
655
views
Why does this markdown not render as a list?
If one looks at the source text for this question:
Ceylon Run Configuration: can't find project
a list can be seen towards the bottom. However, this list is not rendered as a list, in spite of being ...
3
votes
1
answer
667
views
Minimarkdown formatting in SO comments
According to the help page on formatting text in comments on this site, the backtick should format text as code.
like this
But that does not work. My comments will display on one line.
I have seen ...
-4
votes
1
answer
112
views
Adding Code Sample functionality seems buggy
When asking a question, it's important to add readable code.
So, when wanting to ask a question recently, I clicked the Code Sample > {} icon and pasted the formatted code into place, which results ...
16
votes
0
answers
621
views
Wrong parsing of ` =>` in comments
I wrote this comment:
@Kusalananda I was thinking that `sqlite3.no value` would be taken away
with matching the first ` =>` in ` => /some/path/php/extensions/no-debug-
non-zts-20160303 sqlite3....
2
votes
0
answers
81
views
Markdown rendering nested scrollbox in question content?
This question has a scrollbox inside a scrollbox in the content, which seems like it shouldn't be allowed under normal circumstances
It's about halfway down the searchbar, here's a screenshot for ...
26
votes
2
answers
467
views
Code wrapped inside sub/superscripts is too big
In this answer I happened to use some inline code markup inside a pseudo-footnote1 wrapped in <sup>...</sup> tags and noticed that, while the plain text inside the footnote is typeset in a ...
24
votes
0
answers
459
views
Comment formatting is not working with & (and other special characters) sign(s) after letters/words
When using the & sign in a comment, the formatting is not parsed correctly for example,
SO is a Q&A site.
The comment doesn't seem to get formatted as it is supposed to as can be seen in ...
-12
votes
2
answers
1k
views
Change quote formatting to show double-quote marks
Quote markdown currently renders as a kind of banner:
Like this, and with a yellow background on the main site.
This has led posters and editors to use it for emphasis. People don't seem to ...
3
votes
0
answers
68
views
Code snippet breaks Markdown parser
When editing a post, the Markdown parser in the Preview seems to break down after a code snippet. Everything (except the pre-formatted text) following the code snippet in Example A below appears ...
5
votes
1
answer
178
views
Several posts with incorrect image Markdown syntax
I've noticed several questions and answers posted recently, typically from newer users, where the image Markdown syntax is incorrect (using the link syntax instead of image syntax. In other words, ...
5
votes
1
answer
82
views
SO links do not render like they do in the editor preview
Duplicate of Editor preview resolves title to HTTP links but rendered post does not
It looks like this was fixed once, here: Actual link style doesn't match preview link style
See this question: ...
-9
votes
1
answer
159
views
A string containing `<people.txt` does not render [duplicate]
The Bash command sort -k2,2 -k1,1 <people.txt is not displayed properly.
<people.txt is not in the preview. This is not an issue on some other sites.
I can write the command as sort -k2,2 -...
5
votes
0
answers
49
views
Tag wiki preview looks ok, live changes look crap
We're adding a FAQ to the c tag wiki. I initially did this with a copy/paste from a meta post to the wiki.
The meta post looks ok even though it only contained raw URL to the posts. The site replaced ...
2
votes
2
answers
140
views
Underscore incorrectly interpreted in pre-environment
Consider the following mark-up using the <pre> tag:
which renders as:<pre>
Here we have _|_</pre>
which renders as:
Here we have |
which should read:
Here we have _|_
This ...
15
votes
0
answers
294
views
Editor preview disagrees on link title
The live preview of the post editor breaks links that contains two quotes, one of them in the end:
[example](http://example.com?test=param"title")
While this is rendered on the server into the ...
-17
votes
1
answer
10k
views
Markdown for checkboxes
I found on GitHub that you can use Markdown like this:
[X] Completed feature
[ ] Incompleted feature
To do checkboxes like this:
5
votes
1
answer
298
views
Why does code formatting not work in this question?
I found the following suggested edit in the review queue:
suggested edit, question
The multi-line code was previously formatted using `…` and it is suggested to be replaced with <code>…</...
0
votes
1
answer
206
views
Prevent code from being hidden behind markdown [duplicate]
I flagged this answer as very low quality. Now the post is completely OK so there isn't any reason to flag it, but as you can see in the edit history, first the answer was hidden behind markdown and ...
2
votes
2
answers
166
views
Why is this code block not rendered?
I found some unusual event while posting a question on stackoverflow.com.
May be that is a bug or something, that I want your attention on.
Here is the screen shot of it.
3
votes
0
answers
60
views
Bullet is suppressed (on certain browsers) when list item contains code inside of a blockquote
When you're trying to quote multiple pieces of code, you might use a bulleted list, where each item in the list is a blockquote that contains a code snippet. To wit:
Here's my list:
- > ...
24
votes
0
answers
210
views
In Documentation, code blocks in lists have to be indented less than in Q&A [closed]
According to the Markdown help, code blocks within lists have to be indented two levels, i.e., eight spaces, like this:
* Item
Code
12345678
(Counter just for illustration). In Q&A, ...
3
votes
0
answers
51
views
Why can't snippets be used in documentation and tables in questions? [duplicate]
I find it a bit strange that snippets can't be used in documentation. I'll change this example about using console.log() and add a snippet with markdown code below. Here you can find my changes.
<!...
4
votes
1
answer
76
views
Bug in the Preview/Display of Wiki Introduction Markdown [closed]
I've noticed something strange when I edit the wiki intro of a concept, for instance: https://stackoverflow.com/documentation/backbone.js/8178/sync
When editing the intro the preview function ...
14
votes
1
answer
176
views
Dollar ('$') character breaks link in saved answer but not in preview when creating/editing
I just answered a question (https://stackoverflow.com/a/40469713/782358) and noticed that a link I added (https://material.angularjs.org/latest/api/service/$mdDialog) appeared correctly in the preview ...
4
votes
1
answer
148
views
The <sup> tag suddenly doesn't work? [closed]
I'm an avid user (probably too avid) of the markdown <sup> tag to superscript some text. Usually for footnotes, which don't have any built-in support.
Suddenly, some of my uses of the <sup&...
81
votes
2
answers
2k
views
Do not remove trailing spaces in inline code
If I write
` a b c `
Markdown renders it as
a b c
Inline code should not be trimmed. It's still code, and the spaces can be relevant.
Example:
[...] so .2 and .3 are invalid ...
4
votes
0
answers
63
views
Markdown converts formatting characters in raw URLs, rendering the displayed URL incorrect
Example: https://example.com/repo/__tests__/asdf.js
https://example.com/repo/tests/asdf.js
The underscores in the URL should be preserved, but are instead used to bold part of the URL. This can be a ...
-1
votes
1
answer
462
views
Use special characters like | in markdown table dialects in Documentation [closed]
When creating Documentation, how are special characters like | treated in SO documentation, especially within tables? This does not get rendered properly, hence there there should be a way to escape ...
27
votes
1
answer
174
views
Tag followed by link results in unexpected formatting
This is a [tag:tag] [and link][1]. It displays incorrectly.
This is a tag [and link]1. It displays incorrectly.
This is a [tag:tag] [and link][1]. It displays correctly.
This is a tag&...
-8
votes
3
answers
178
views
Code blocks in list items don't render correctly
I want to have a code block displayed as part of or after a list item. However, the codeblock below a list item doesn't render as a code block. How do I format a list and code block together?
Input:...
1
vote
1
answer
62
views
Question Revision Diff not showing the full difference
In this question revision
https://stackoverflow.com/posts/39236576/revisions
on revision #2
there is a difference between "side by side" and "side by side markdown", it looks like the "side by ...
12
votes
1
answer
113
views
Abbreviated URLs in comments render … instead of …
Well, what the title says. If I post an URL in a comment, it gets shortened, and the ellipsis is shown by …. Or at least, should be, because it shows up as ….
9
votes
1
answer
164
views
Can't end a code span with backslash in comments [duplicate]
I tried to end a code span with a backslash in a comment. It treated the ` as a literal. I tried to escape the backslash, but that didn't work either and it still treated the ` as a literal. See below ...
2
votes
0
answers
42
views
Markdown rendering bug with inline code in Remarks [closed]
Something is wrong with the Markdown rendering in this topic's Remarks:
Source:
<h2>When to use the weak-keyword:</h2>
The `weak`-keyword should be used, if a referenced object may be ...