Created
December 11, 2009 19:47
-
-
Save ibolmo/254458 to your computer and use it in GitHub Desktop.
How Shell/Forge can interpret Demos.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Demo Title</title> | |
| <meta name="description">Demo Description</meta> | |
| <style class="shell css"> | |
| /* Demo CSS */ | |
| </style> | |
| <script src="deps.js" title="Authors can generate a deps.js, or include from a temp (.gitignored) file."></script> | |
| <script class="shell js requires" src="../Source/MyPlugin.js" title="'requires' help builders"></script> | |
| <script class="shell js"> | |
| /* Demo Code */ | |
| </script> | |
| </head> | |
| <body class="shell html"> | |
| <p>My HTML</p> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Demo Title</title> | |
| <meta name="description">Demo Description</meta> | |
| <link rel="stylesheet" href="demo.css" class="shell css" /> | |
| <script src="deps.js" title="Authors can generate a deps.js, or include from a temp (.gitignored) file."></script> | |
| <script class="shell js requires" src="../Source/MyPlugin.js" title="'requires' help builders"></script> | |
| <script class="shell js" src="demo.js"></script> | |
| </head> | |
| <body class="shell html"> | |
| <p>My HTML</p> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| --- | |
| description: My demo description. | |
| requires: MyPlugin | |
| ... | |
| --> | |
| <html> | |
| <head> | |
| <title>Optional Title. Description in YAML header can be the title. If present, title will be used instead</title> | |
| <style class="shell css"> | |
| /* Demo CSS */ | |
| </style> | |
| <script src="deps.js" title="Authors can generate a deps.js, or include from a temp (.gitignored) file."></script> | |
| <script src="../Source/MyPlugin.js" title="Seems redundant with YAML. See other solution."></script> | |
| <script class="shell js"> | |
| /* Demo Code */ | |
| </script> | |
| </head> | |
| <body class="shell html"> | |
| <p>My HTML</p> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment