8

Question preview is a useful feature, but in the Stack Overflow for team (private), this feature is disabled.

private

The same markdown in the classic Stack Overflow (public), show the expected preview:

enter image description here

12
  • 2
    I never used Teams, but what happens when you toggle the "Markdown" switch in the top right corner?
    – BDL
    Commented Mar 30, 2021 at 16:49
  • I already used that button :( and preview does not appear
    – JRichardsz
    Commented Mar 30, 2021 at 16:52
  • 4
    This is the new editor and it’s working as expected. Still, a lot of people liked the separate preview so adding that option back was requested somewhere in the answers to the original announcement: meta.stackexchange.com/q/360033/323179
    – Laurel
    Commented Mar 30, 2021 at 16:56
  • 2
    why downvote? Is a bad question? How can I improve it?
    – JRichardsz
    Commented Mar 30, 2021 at 17:01
  • 1
    @JRichardsz - no, not necessarily, people may simply disagree this is a problem (or, more likely, because you did not check this is how the new editor works). That said, to second Laurel, I opted in for the new editor on Meta and after using it for a while, turned it off exactly for that reason - it is a ridiculous user experience to toggle preview all the time to see if the post looks just right.
    – 0Valt
    Commented Mar 30, 2021 at 17:09
  • 2
    Also, as your screenshot shows, it is extremely easy to make a mistake you are in the markdown version while you are actually in the "preview" version, and the post literally looks like "![image](link)"
    – 0Valt
    Commented Mar 30, 2021 at 17:12
  • 2
    I've seen previous reports where images from docs.oracle.com went belly up. Can you try with https://i.sstatic.net/hZM07.png which is your own image you posted here?
    – rene
    Commented Mar 30, 2021 at 17:25
  • 2
    @rene that's possible, however, I am now pretty sure they are in the "wrong" mode, and the editor thinks they entered "hello ![image](..." as plaintext (judging by the switched off toggle). If that's true, this is a nice illustration why the new editors preview solution is a step backwards. JRichardsz - can you clear the post, switch on MD, paste the code back and confirm?
    – 0Valt
    Commented Mar 30, 2021 at 17:32
  • 3
    @OlegValter yeah, the editor is too smart for comfort. It needs to dumb down a bit.
    – rene
    Commented Mar 30, 2021 at 17:33
  • I wonder if there should be some sort of guard against this... I posted the thought to the editor testing thread.
    – zcoop98
    Commented Mar 30, 2021 at 18:06
  • @zcoop98 - probably there should be (although I am not sure what this would mean from the technical standpoint - looking at MD token sequences?). Frankly, a toggle instead of switch would've been better here, I think the design team misunderstood the use case here.
    – 0Valt
    Commented Mar 30, 2021 at 18:12
  • You can edit in markdown and then toggle back to WISYWIG mode to see your preview
    – JBaczuk
    Commented Jun 3, 2021 at 17:25

1 Answer 1

6

You are unknowingly using the new Stacks Editor, which is currently distinct from the default one used on Stack Exchange sites. This editor does not provide a preview like the old editor does, and instead opts for two modes: Markdown mode, and rich text (WSIWYG) mode.

In Markdown mode, you type plain text, optionally using Markdown syntax to add things like images and text stylings to your content. All content in Markdown mode will appear simply as styled plain text, and you will not see rendered content like images, tables, or quote blocks.

The rich text mode differs in that it renders a full "preview" of your content that you can edit. Unlike the old editor, which displays your preview below the input, rich text mode displays the preview inline, where you can edit it live, just like you would in a document editor.

To switch between these two modes, use the Markdown switch on the upper right corner of the editor, and make sure it's set to the "off" position with the grey color.

The problem you're encountering is that you have typed the Markdown syntax for an image into the rich text mode of the editor. Copy your image markup (![image](...link here...)), switch modes to Markdown, and paste it back into the editor.

To see your image rendered, switch the editor back to rich text mode.

2
  • In the public Stack Overflow, we have an option of opting-out of the alpha test; No such option is visibly available at the private teams, is it?
    – Eric Wu
    Commented Apr 13, 2021 at 15:58
  • @EricWu I'm under the impression that the answer is "no," since the start of the announcement post makes it sound like the Stacks Editor was launched fully on Teams last summer. Also worth noting that the new editor is opt-in, rather than opt-out, on MSE and MSO atm, meaning that only people that go looking for it will have it enabled.
    – zcoop98
    Commented Apr 13, 2021 at 17:26

Not the answer you're looking for? Browse other questions tagged .