Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Site.js
site
Commits
4c6a3e2a
Verified
Commit
4c6a3e2a
authored
Jul 26, 2019
by
Aral Balkan
Browse files
Improve syntax highlighting of example
parent
74c45297
Changes
1
Hide whitespace changes
Inline
Side-by-side
index.html
View file @
4c6a3e2a
...
...
@@ -132,7 +132,7 @@ module<span class="token punctuation">.</span><span class="token function-variab
<p>
For example, to create
<a
href=
'https://source.ind.ie/site.js/app/tree/master/examples/wss-basic-chat'
>
a very basic chat app
</a>
:
</p>
<pre><code>
mkdir
<span
class=
"token keyword"
>
-p
</span>
<span
class=
"token string"
>
basic-chat
</span>
/.dynamic/.wss
</code>
<code>
touch basic-chat/.dynamic/.wss/
chat.js
</code>
<code>
touch basic-chat/.dynamic/.wss/
<span
class=
"token string"
>
chat.js
</span>
</code>
<code><span
class=
"token comment"
>
# Add the code below to chat.js.
</span></code>
<code>
site
<span
class=
"token string"
>
basic-chat
</span></code></pre>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment