style, html
This commit is contained in:
parent
3c4f4e102a
commit
298b5552c4
1 changed files with 6 additions and 3 deletions
|
|
@ -45,7 +45,8 @@
|
||||||
download your own copy and host it yourself.
|
download your own copy and host it yourself.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2><a name="usage">Usage</a></h2>
|
<a name="usage"></a>
|
||||||
|
<h2><a href="#usage">Usage</a></h2>
|
||||||
|
|
||||||
Include <tt>sci-script-tag.js</tt> and write a <tt>script</tt> tag
|
Include <tt>sci-script-tag.js</tt> and write a <tt>script</tt> tag
|
||||||
where <tt>type</tt> is set
|
where <tt>type</tt> is set
|
||||||
|
|
@ -75,7 +76,8 @@
|
||||||
Click me!
|
Click me!
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<h2><a name="src">Source from file</a></h2>
|
<a name="src"></a>
|
||||||
|
<h2><a href="#src">Source from file</a></h2>
|
||||||
|
|
||||||
When you have a file on your server, say <tt>cljs/script.cljs</tt>, you can load it using the <tt>src</tt> attribute:
|
When you have a file on your server, say <tt>cljs/script.cljs</tt>, you can load it using the <tt>src</tt> attribute:
|
||||||
|
|
||||||
|
|
@ -83,7 +85,8 @@
|
||||||
<script src="cljs/script.cljs" type="application/x-sci"></script>
|
<script src="cljs/script.cljs" type="application/x-sci"></script>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<h2><a name="reagent">Reagent plugin<a/></h2>
|
<a name="reagent"></a>
|
||||||
|
<h2><a href="#reagent">Reagent plugin</a></h2>
|
||||||
|
|
||||||
To enable <a href="https://github.com/reagent-project/reagent">reagent</a>,
|
To enable <a href="https://github.com/reagent-project/reagent">reagent</a>,
|
||||||
in addition to <tt>sci-script-tag.js</tt>, you need to include <tt>sci-script-tag-plugin-reagent.js</tt>.
|
in addition to <tt>sci-script-tag.js</tt>, you need to include <tt>sci-script-tag-plugin-reagent.js</tt>.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue