Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Preview of edits so reviewers can see what has changed
When looking at a pending edit on the suggested edits page, only the markdown shows. There is no preview of how this will be rendered.
This presents two problems:
- Any subtle error introduced by the edit that prevents the post from rendering correctly will be difficult to spot, risking a faulty edit being accepted
- An edit that fixes a subtle error (perhaps by introducing a blank line), will look redundant to the edit reviewer, risking the fix being rejected
Example
This means that the following two code blocks, that look near identical, render very differently.
Without a blank line
<details><summary>Summary</summary>
- details
- details
- details
</details>
renders as: (click on the arrow to expand and see the raw markdown has not been rendered)
Summary
- details - details - detailsWith a blank line
<details><summary>Summary</summary>
- details
- details
- details
</details>
renders as: (click on the arrow to expand and see the markdown has now been correctly rendered)
Summary
- details
- details
- details
Real-world occurrence
I'm raising this following suggesting an edit that included fixing a <details>
section where the first image does not render due to the lack of a blank line. If I hadn't also changed another part of the post in the same suggested edit, it would have looked redundant to any reviewer not familiar with this rare case of a blank line in HTML being relevant to the rendered result.
0 comment threads