Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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.

Can we have a "show post source" button?

+6
−0

Often I see a post which uses a formatting that I'd like to learn or to directly "steal". To see how it is done I'm forced to click the edit button, which is prone to mistakes and really doesn't seem "right" to my programmer's OCD POV.

This is something that has bothered my greatly also Somewhere Else, but there this is accepted practice.

Instead, I'd like to have a button somewhere that allows me to open a read-only view of the post source, from where I could copy anything I want but without the risk of messing something up.

Is this doable and without too much hassle for the devs?

I well realize that adding a button beside the more frequently used ones like edit or flag can add clutter, so I'd suggest to add a "kitchen sink" button (with three dots or something like that) that opens a menu with less used functions. This could be also really useful in the future if some other new facility needs a less prominent place.

BTW, even now some more dangerous options, like close or delete could already be moved to the "kitchen sink" reducing some clutter.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+2
−0

Why I like

I like the idea of a button that shows me the raw Markdown (or MathJax or HTML depending on the post) so I can see how certain styles are achieved. I too find the "Edit" button unsatisfactory for this purpose. If I'm making a genuine edit then a draft is saved (which I like). I don't want this to happen if I'm just viewing the Markdown out of interest. I therefore have to scroll down and press "Cancel" on the edit page before I close the tab.

My concerns

However, there are some potential problems with a raw text button:

  1. As you mention, this adds clutter. The existing buttons already wrap onto 2 lines on mobile.
  2. I like your suggestion of tidying away some of these buttons into a menu button. However, if the raw text button is behind a menu button, then it is quicker for me to press "Edit", so I probably will at least some of the time.

Perhaps other buttons could be put behind a menu button, so that both "Edit" and "Raw text" could be available with a single click. Perhaps both "Edit" and "Raw text" could be behind a menu button, so each take two clicks.

Previewing

Some people may still prefer to edit, because they want to see what changes in the preview when they make small adjustments to the raw text. Perhaps the raw text could open in a new tab with a preview, so you can see the changing results without saving a draft edit to the original post. This would be like a sandbox available from every post, with that post's content as a starting point.

More discussion please

In summary, I don't know what's best, but I'd like to see more discussion to find out all the options.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »