MDN/Projects/Development/Building Blocks: Difference between revisions

no edit summary
(Created page with "As part of the redesign, we intend to offer templates for page layouts of the standard types of pages. In addition, we will offer in the toolbar a list of standard components ...")
 
No edit summary
Line 24: Line 24:
* Click to zoom into a lightbox
* Click to zoom into a lightbox
* Make sure there's alt text for a11y; this mustn't be optional
* Make sure there's alt text for a11y; this mustn't be optional
===Mockup===
<coming soon>
==Live sample==
We have buttons for live samples, but let's move this into the building blocks mechanism and add functionality.
==Features==
* One or more code chunks in a pre block, as currently supported
* Specify the title for the code sample
* Specify whether or not to have subheadings for each code block, and what they are
* Configure the size and placement of the live rendering
* Offer an option to open the live sample in a lightbox?
* Offer support for sending the sample to a JSFiddle or similar environment for tinkering
* Offer a button that copies the entire sample to the clipboard?
==Mockup==
<coming soon>
Confirmed users, Bureaucrats and Sysops emeriti
1,057

edits