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

Fix HTML formatting

parent 2d1e32dc
...@@ -552,24 +552,26 @@ module.exports = (request, response) => { ...@@ -552,24 +552,26 @@ module.exports = (request, response) => {
<p> <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”). 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>
<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> 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>
<p>
<p>To run that example, first clone the Site.js source code repository:</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> <pre><code class='language-bash'>git clone https://github.com/small-tech/site.js</code></pre>
<p>
<p>Then run the simple chat example using Site.js:</p> Then run the simple chat example using Site.js:
</p>
<pre><code class='language-bash'>site site.js/examples/simple-chat</code></pre> <pre><code class='language-bash'>site site.js/examples/simple-chat</code></pre>
<p>
<p>Finally, open <a href='https://localhost'>https://localhost</a> in multiple browser windows and play with the chat interface.</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>
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>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>
<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> </aside>
</li> </li>
</ol> </ol>
...@@ -584,7 +586,6 @@ module.exports = (request, response) => { ...@@ -584,7 +586,6 @@ module.exports = (request, response) => {
<section id='further-reading' class='highlights'> <section id='further-reading' class='highlights'>
<h2>Further reading</h2> <h2>Further reading</h2>
<ul> <ul>
<li> <li>
<h3>Multi-device testing</h3> <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