7
$\begingroup$

Beneath every answer on stack exchange, there are various hyperlinks, such as:

  • Share
  • Edit
  • Follow
  • Flag

Occasionally, I want to copy a snippet mark-up language from an answer without editing that answer.

For years, I have clicked the "edit" link, copied the piece of mark-up language I wanted, and then closed clicked the "cancel changes" button.

However, I occasionally get an error message which says something like:

SUGGESTED EDITS ARE NOT ALLOWED

SCREEN CAPTURE OF "SUGGESTED EDITS ARE NOT ALLOWED"

It would be nice if users could view the mark-up language without editing it.

I especially like to copy and paste source code for $\mathtt{MathJax}$ and $\LaTeX$

The resulting webpage could look almost the same as the "edit answer" dialog, except that instead of...

  • "save edits"
  • "cancel"

... we could have a "close" button

Also, the text "Edit" can be replaced with "View Mark-up "

screen capture of "save edits" button

$\endgroup$
2
1
$\begingroup$

I do agree with your feature suggestion, but as the post with the suggestion on Meta.SE has somehow been marked as , I don't know if it will come.

It would be nice if users could view the mark-up language without editing it.

This is actually already possible via the links that Martin posted in the comments, but it takes a couple more clicks, if the post has at least one edit. (A post with no edits requires you to type instead of click, see bullet point below.) But this method even lets you see the source for any revision of the post, not just the current version. For reference I took a couple screenshots of this question to explain the process:

  1. If the post has been edited, click on the "edited on DATE at TIME by X" to see the revision history

enter image description here

  • If there have been no edits, modify the URL as follows. Example URL: https://math.meta.stackexchange.com/questions/33731/requesting-new-feature-view-mark-up-button
    A. remove everything after the post ID:
    https://math.meta.stackexchange.com/questions/33731/
    B. change "questions" to "posts":
    https://math.meta.stackexchange.com/posts/33731/
    C. add revisions to the end:
    https://math.meta.stackexchange.com/posts/33731/revisions
    which gives the same link as the above.
  1. At any revision that modified the post (including the original posting), there will be a button to view the source:

enter image description here

Clicking it reveals the source in plain-text. For instance, I now know that you used +s for bullet points,

Beneath every answer on stack exchange, there are various hyperlinks, such as:  
+ *Share*  
+ *Edit*   
+ *Follow*     
+ *Flag*

...
  • For answers that have not been edited, you need to find the post ID e.g. via the "Share" button. Clicking on "Share" for this answer gives https://math.meta.stackexchange.com/a/33739/80734. The first number 33739 is this answer's post ID (the second number is my user ID.) Now replace the post ID in the above to get this link.
$\endgroup$
1
  • 4
    $\begingroup$ Concerning the modification of the links, a bit faster way is to click on the timeline icon (which is always present) and then change timeline to revisions in the URL. See also: How to see questions time line? $\endgroup$ Jun 20 at 3:49

You must log in to answer this question.

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