Fixed look of readme (I hope!)
This commit is contained in:
parent
6b635dfc23
commit
aa09c506a6
|
@ -18,12 +18,12 @@ Instructions to creating a new demo:
|
||||||
* Create a .html in the /demos directory
|
* Create a .html in the /demos directory
|
||||||
* Use the following template (also a sample in /demos/template.html):
|
* Use the following template (also a sample in /demos/template.html):
|
||||||
|
|
||||||
`<title><!-- Title of your demo, note this appears in the document title prefixed with "HTML5 Demo:" --></title>
|
<pre><code><title><!-- Title of your demo, note this appears in the document title prefixed with "HTML5 Demo:" --></title>
|
||||||
<style>/** any custom styles live here **/</style>
|
<style>/** any custom styles live here **/</style>
|
||||||
<article><!-- any demo markup here --></article>
|
<article><!-- any demo markup here --></article>
|
||||||
<script>
|
<script>
|
||||||
// your JavaScript
|
// your JavaScript
|
||||||
</script>`
|
</script></code></pre>
|
||||||
|
|
||||||
* When requesting the demo, use html5demos.com/[yourdemo] and page.php will top and tail your page
|
* When requesting the demo, use html5demos.com/[yourdemo] and page.php will top and tail your page
|
||||||
* Any additional JavaScript libraries should be stored in the /js directory, assets, such as video and audio live in the /assets directory.
|
* Any additional JavaScript libraries should be stored in the /js directory, assets, such as video and audio live in the /assets directory.
|
||||||
|
|
Loading…
Reference in New Issue