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 "town hall" (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.

Comments on "Show source" feature would make sense to me

Post

"Show source" feature would make sense to me

+2
−0

I dimly remember that once, on Wikipedia, there was a button "Show source".

Would be nice to have that here, to learn about what is possible from examples, without opening things for edit and then accidentally modify it.

Would be of special interest for comments, looks like they don't have (and need) all functionality available for questions and answers.

Should be easy to implement using the code already available for "edit" but just blocking "save" and enable "show" for any user, even those without permission to "edit".

History

1 comment thread

Can't you do that thru your browser? (3 comments)
Can't you do that thru your browser?
Olin Lathrop‭ wrote 11 months ago

Can't you do that thru your browser?

watchmaker‭ wrote 11 months ago · edited 11 months ago

Yes and no.

The browser shows me all the source for all the page. Very difficult to filter out the specific part I want to see.

And more, what HTML is shown will probably be different from what has been typed into the question or comment, regarding some processing between the two.

For example "@userXY" will surely not show up like this in the final HTLM.

Olin Lathrop‭, no. An internet browser displays the rendered CommonMark as HTML5. They're not 1:1. Solely the server knows what the original markup was.