Skip to content

Commit 7fc39e1

Browse files
committed
Avoid confusion about Joy using a clojure library
1 parent 3b28f19 commit 7fc39e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
(def app (app))
99

10-
(server app 9001)</code></pre></div></div></div><div class="bg-gray-100 py-4 mt-6"><div class="container p-4 mx-auto"><h3 class="text-2xl text-gray-800">Installation on macOS</h3><div class="mt-4"><div class="flex flex-col self-stretch flex-auto space-y-4"><div><div class="text-gray-600">Janet can be installed with homebrew:</div><div class="mt-2 inline-block rounded-lg border border-gray-500 p-2">brew install janet</div></div><div><div class="text-gray-600">Then to install joy:</div><div class="mt-2 inline-block rounded-lg border border-gray-500 p-2">jpm install joy</div></div><div class="text-gray-600">More installation options for janet <a href="https://janet-lang.org/docs/index.html" class="text-indigo-500 underline">here</a></div></div></div></div></div><div class="lg:mt-16"><div class="container p-4 mx-auto"><div class="flex flex-col self-stretch flex-auto space-y-16"><div class="lg:grid lg:grid-flow-col lg:grid-cols-2 gap-10"><div class="flex flex-col self-stretch flex-auto space-y-4"><h3 class="text-2xl text-gray-800">HTML is data</h3><div class="text-gray-800">Joy uses <a href="https://github.com/weavejester/hiccup" class="text-indigo-500 underline">hiccup</a> to render html. There is no separate template language to learn! You have all of janet&#x27;s power when writing html!</div></div><div class="flex flex-col self-stretch flex-auto space-y-4"><pre><code class="rounded-lg p-6 clojure">[:form
10+
(server app 9001)</code></pre></div></div></div><div class="bg-gray-100 py-4 mt-6"><div class="container p-4 mx-auto"><h3 class="text-2xl text-gray-800">Installation on macOS</h3><div class="mt-4"><div class="flex flex-col self-stretch flex-auto space-y-4"><div><div class="text-gray-600">Janet can be installed with homebrew:</div><div class="mt-2 inline-block rounded-lg border border-gray-500 p-2">brew install janet</div></div><div><div class="text-gray-600">Then to install joy:</div><div class="mt-2 inline-block rounded-lg border border-gray-500 p-2">jpm install joy</div></div><div class="text-gray-600">More installation options for janet <a href="https://janet-lang.org/docs/index.html" class="text-indigo-500 underline">here</a></div></div></div></div></div><div class="lg:mt-16"><div class="container p-4 mx-auto"><div class="flex flex-col self-stretch flex-auto space-y-16"><div class="lg:grid lg:grid-flow-col lg:grid-cols-2 gap-10"><div class="flex flex-col self-stretch flex-auto space-y-4"><h3 class="text-2xl text-gray-800">HTML is data</h3><div class="text-gray-800">Joy uses <a href="https://github.com/swlkr/janet-html" class="text-indigo-500 underline">hiccup</a> syntax to render html. There is no separate template language to learn! You have all of janet&#x27;s power when writing html!</div></div><div class="flex flex-col self-stretch flex-auto space-y-4"><pre><code class="rounded-lg p-6 clojure">[:form
1111
[:input {:type &quot;text&quot; :placeholder &quot;Your name&quot;}]
1212
[:input {:type &quot;email&quot; :placeholder &quot;Your email&quot;}]
1313
[:input {:type &quot;submit&quot; :value &quot;Submit&quot;}]]

index.janet

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
[h3 "HTML is data"]
5858
[text
5959
"Joy uses "
60-
[link {:href "https://github.com/weavejester/hiccup"}
60+
[link {:href "https://github.com/swlkr/janet-html"}
6161
"hiccup"]
62-
" to render html. There is no separate template language to learn! You have all of janet's power when writing html!"]]
62+
" syntax to render html. There is no separate template language to learn! You have all of janet's power when writing html!"]]
6363
[vstack:md
6464
[pre
6565
[code {:class "clojure"}

0 commit comments

Comments
 (0)