4

This question looks like this in the editing preview:

preview with working lists

Here the #) list formatting works. But when the question renders on-site, it looks like:

render with non-working lists

The #) list has lost its formatting and shows up as plain text. I believe the style of #) is supposed to work for numbered lists, or at least I recall seeing it before. Why does this happen?

(The other kind of numbered list formatting - #. - still works)

Examples on a fresh post:

Ordered list using #.
  1. List item 1 with 1.
  2. List item 2 with 2.
  3. List item 3 with 3.
Ordered list using #)

Does display as a list in preview.

  1. List item 1 with 1)
  2. List item 2 with 2)
  3. List item 3 with 3)
6
  • 1
    I don't see anything in the help pages indicating that the #) format should work. OTOH, it is part of Commonmark, so I would expect it to work, given that SE is supposed to be using modified Commonmark at this point. Commented Jul 20, 2021 at 4:20
  • @Makyen yeah, I couldn't find it documented anywhere either. However I remember it working before, and it works in the preview, so *shrug* bug report. Commented Jul 20, 2021 at 4:21
  • The examples edited into the question works... huh?? (I was going to protest that examples weren't needed in the question itself, but now this is intriguing) Commented Jul 20, 2021 at 4:25
  • Ohhh... I didn't go to the question you linked. It was last edited when it was posted in 2018, so it's never been re-rendered using the Commonmark Markdown converter. So, just save an edit. Commented Jul 20, 2021 at 4:28
  • @Makyen that fixed it. Feeling a little silly now :) Any opinion on what to do with the meta question now? Commented Jul 20, 2021 at 4:30
  • If you don't want to delete it, I'd rewrite it to more accurately reflect the issue: old post not rendered under Commonmark, makes it look like there's some problem with formatting, with the additional strangeness that it's OK in the preview. Then you can just self-answer that it can be fixed by re-rendering, which is triggered when a new revision is saved. Commented Jul 20, 2021 at 4:33

1 Answer 1

1

This problem is caused by the #) style not working before the Commonmark migration. Since this particular post hadn't been edited since the migration, it hadn't been rendered with the new formatting. Editing to force a re-render fixed the problem. The preview works because it's Commonmark compliant.

1
  • There's a number of posts where this is the case, including posts using code fences before they were supported. Manual cache kicking is necessary, unfortunately Commented Jul 20, 2021 at 9:58

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.