Skip to main content

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].

Filter by
Sorted by
Tagged with
24 votes
2 answers
265 views

Comments are improperly rendering HTML

Since recently when I typed ' in a comment, it shows as ': Why is `&self` allowed in the parameters of `&mut self` methods, but not `&mut self`? I'm on Firefox, Windows 11.
Chayim Friedman's user avatar
21 votes
0 answers
405 views

Non-whitelisted HTML-like text is incorrectly stripped from Discussions post markdown

Discussions appears to implement additional filtering on the contents of posts, in order to enforce certain additional restrictions on what can be included in posts. Unlike other forms of filtering on ...
user1114's user avatar
6 votes
1 answer
177 views

How to apply code formatting inside markdown-formatted table cells which should present literal backticks?

How do I correct my corrupted table formatting in this answer? I looks perfectly rendered in the preview section when I am in the editor, but when I submit the edit, it is horribly corrupted. I have ...
mickmackusa's user avatar
  • 49.1k
8 votes
1 answer
147 views

Cannot get tables to be formatted as tables in Discussions

Table markdown is not supported in Discussions. Here's an example: Have a singe "Report" table reportedEntityId reportedEntityType 1 Post 2 Post 2 Comment As shown above, while the copied ...
M--'s user avatar
  • 33.3k
2 votes
0 answers
69 views

Question Preview does not match how the question looks on site when asked [duplicate]

This is with regards to this specific question. On site it looks like this - But in the edit preview it looks like this - There is a distinct mismatch between what is shown as a preview and what is ...
Karan Shishoo's user avatar
4 votes
0 answers
142 views

Bad closing <a> tag earlier on causes last link in post to be not a link anymore

I just came across a puzzling issue while editing somebody's old post to update a broken link. Always the last link in the post was not clickable, it wasn't even a link, it was simply text. It turns ...
CherryDT's user avatar
  • 29.4k
3 votes
0 answers
125 views

How is markdown in discussions being converted to HTML?

Posts on SE use Markdig on the server side, and markdown-it for the client-side preview. But it seems like threads under discussions are behaving slightly differently. For example, underscores and ...
starball's user avatar
  • 58.8k
3 votes
0 answers
71 views

Markdown table works in preview but not when I post the content [duplicate]

I wrote a question using a Markdown table without an empty line between the previous paragraph and the table. It showed correctly in the preview and when I clicked "Review your question", ...
mjaggard's user avatar
  • 2,525
1 vote
1 answer
161 views

Masked links with square brackets aren't rendered in comment Markdown

The usual referencing style for the C++ standard is [basic.lookup.elab] p2 (with some variations). To produce this, you need two write [[basic.lookup.elab] p2](https://eel.is/c++draft/basic.lookup....
Jan Schultke's user avatar
  • 43.3k
29 votes
2 answers
1k views

Link to a specific spot in a Stack Overflow question/answer

Following this Stack Overflow answer, I added a named anchor ElimRestErrs to a heading in an answer I posted: # <a name="ElimRestErrs">Eliminating the rest of the errors</a> The ...
user2153235's user avatar
  • 1,265
7 votes
0 answers
92 views

Lack of a closing </sub> in a paragraph results in a later <sub></sub> pair not being applied

On the question How to convert a string of space- and comma- separated numbers into a list of int? Note the comment I have added at the end of the page source. If I try to remove the comment and its ...
Karl Knechtel's user avatar
0 votes
0 answers
64 views

Comment rendering bug with inline code [duplicate]

I just encountered this beauty: It looks like inline code does not get rendered properly in the comments by not breaking succeeding spaces or some sort of escaping problem.
stackprotector's user avatar
2 votes
0 answers
55 views

Broken snippet rendering [duplicate]

This question (in revision 1) has a really weird StackSnippet content that doesn't want to display properly. In the question it renders nested scrollbars: Scrolling down to the bottom of the outer ...
Bergi's user avatar
  • 670k
6 votes
1 answer
292 views

Markdown rendering bug - different between preview and actual

While answering Is there something wrong with common mark?, I seem to have discovered a bug in the rendering of markdown. **b.**&#8203;a should render as shown in this image: and indeed it does ...
Andrew Morton's user avatar
6 votes
0 answers
81 views

Wrapping bare URLs in <sub>/<sup> tags breaks hyperlinks in the generated HTML (not in the preview)

I just edited Common elements comparison between 2 lists to add some links from the comments to related questions in a "see also" section - specifically, these links: In Python, how do I ...
Karl Knechtel's user avatar

15 30 50 per page
1
2 3 4 5
12
Morty Proxy This is a proxified and sanitized view of the page, visit original site.