-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 'view source' feature to view code of complete examples #749
Comments
I like this idea. Would it be a link under the existing example box? Where would this show up for each tip that it could be used for? |
My current idea, is to have a link or icon at the bottom of the example box which would open up a modal window showing a more complete coding example. |
I only looked at this quickly. Did I understand correctly that there is a suggestion to add View Source Code of just alt text? I [strongly] do not support that. The code is simple. Pretty much everyone who needs to do it knows how. Don't add complexity to the Tips pages for it. I didn't get a chance to look at the others. Sorry. |
Here is the list of Tips where we propose to add "View Source Code": [[ |
Regarding alt-text: in the Designing page, for example, different coding techniques are used, which is why we want to make the source code easier to access. |
I like that the source code is available, even in simple cases, as it reinforces where source code is approachable for those who would otherwise be intimidated or unsure if they "get it". |
This could be used in multiple places to make it easy to find the code where there are good practice ideas.
The text was updated successfully, but these errors were encountered: