Verified Commit e42f04e3 authored by Aral Balkan's avatar Aral Balkan
Browse files

Fix HTML formatting

parent 2d1e32dc
......@@ -552,39 +552,40 @@ module.exports = (request, response) => {
<p>
The broadcast method, by default, has rudimentary client filtering and only sends a message to clients other than the one that originally sent the message and only to clients connected to the same route (or “room”).
</p>
<p>
For a fully-documented version of the above example, see <a href='https://github.com/small-tech/site.js/tree/master/examples/simple-chat'>the source code for the Simple Chat example.</a>
</p>
<p>To run that example, first clone the Site.js source code repository:</p>
<p>
To run that example, first clone the Site.js source code repository:
</p>
<pre><code class='language-bash'>git clone https://github.com/small-tech/site.js</code></pre>
<p>Then run the simple chat example using Site.js:</p>
<p>
Then run the simple chat example using Site.js:
</p>
<pre><code class='language-bash'>site site.js/examples/simple-chat</code></pre>
<p>Finally, open <a href='https://localhost'>https://localhost</a> in multiple browser windows and play with the chat interface.</p>
<p>The WebSocket functionality is from <a href='https://github.com/aral/express-ws'>our fork of express-ws</a> (which in turn uses <a href='https://github.com/websockets/ws'>ws</a>). Both of those links have more usage details.</p>
<p>For full details, see the <a href='https://github.com/small-tech/site.js/blob/master/README.md#dynamic-sites'>Dynamic Sites documentation</a> and view the <a href='https://github.com/small-tech/site.js/tree/master/examples'>examples</a>.</p>
<p>
Finally, open <a href='https://localhost'>https://localhost</a> in multiple browser windows and play with the chat interface.
</p>
<p>
The WebSocket functionality is from <a href='https://github.com/aral/express-ws'>our fork of express-ws</a> (which in turn uses <a href='https://github.com/websockets/ws'>ws</a>). Both of those links have more usage details.
</p>
<p>
For full details, see the <a href='https://github.com/small-tech/site.js/blob/master/README.md#dynamic-sites'>Dynamic Sites documentation</a> and view the <a href='https://github.com/small-tech/site.js/tree/master/examples'>examples</a>.
</p>
</aside>
</li>
</ol>
</section>
<!------------------------------------------------------------------------------------>
<!-- -->
<!-- Further reading -->
<!-- -->
<!------------------------------------------------------------------------------------>
<!------------------------------------------------------------------------------------>
<!-- -->
<!-- Further reading -->
<!-- -->
<!------------------------------------------------------------------------------------>
<section id='further-reading' class='highlights'>
<h2>Further reading</h2>
<ul>
<li>
<h3>Multi-device testing</h3>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment