style, html

This commit is contained in:
Michiel Borkent 2021-05-25 14:30:46 +02:00
parent 3c4f4e102a
commit 298b5552c4

View file

@ -45,7 +45,8 @@
download your own copy and host it yourself.
</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
where <tt>type</tt> is set
@ -75,7 +76,8 @@
Click me!
</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:
@ -83,7 +85,8 @@
&lt;script src=&quot;cljs/script.cljs&quot; type=&quot;application/x-sci&quot;&gt;&lt;/script&gt;
</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>,
in addition to <tt>sci-script-tag.js</tt>, you need to include <tt>sci-script-tag-plugin-reagent.js</tt>.