2

Now that we have documentation, I was thinking it would make answering a lot easier if one was able to directly embed a specific Example from documentation into a post. It would be similar to Stack Snippets. I am imagining a button on the formatting line next to the Snippet button. It would direct the user through choosing a tag, a topic, and then a specific example to embed.

Thoughts?

1 Answer 1

6

There's already this nifty dialog for linking to examples...

the dialog

It's triggered by the normal "link" button or keyboard shortcut (ctrl+L), but now sports a tab for Documentation on Stack Overflow.

It'd be nice if this offered a way of actually embedding the example inline, but I'd be concerned about folks creating essentially link-only answers if this were too easy.

See also: Will there be a close reason for "Covered in Docs"?

4
  • If people do give link only answers, that'd be a sign that the close reason should be created. After all, closing a question as duplicate is a link only answer in some sense.
    – null
    Jul 23, 2016 at 21:04
  • Yeah, there might be something there
    – Shog9
    Jul 23, 2016 at 21:38
  • This must be outdated? CTRL+L in a Stack Overflow answer doesn't give me a dialog like that.
    – ashleedawg
    Feb 10, 2022 at 9:18

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