use className instead of class in mdx
This commit is contained in:
parent
13f1113536
commit
5b9ba8d3eb
2 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ operator.
|
|||
The `k` that `call/cc` calls its argument with represents, roughly, the rest of the computation.
|
||||
The “current continuation” is what will be executed next at the point that `call/cc` is called.
|
||||
|
||||
Incidentally, this helps me understand scheme’s multiple return values; `(values v1 v2 ...)` is just <code class="long">(call/cc (lambda (k) (k v1 v2 ...)))</code>.
|
||||
Incidentally, this helps me understand scheme’s multiple return values; `(values v1 v2 ...)` is just <code className="long">(call/cc (lambda (k) (k v1 v2 ...)))</code>.
|
||||
|
||||
I recommend reading about continuations in Dybvig’s [<i>The Scheme Programming Language</i>](https://www.scheme.com/tspl4/further.html#g63)
|
||||
if you’re (justly) dissatisfied with my explanation or just want to learn more precisely how they work and their applications.
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Importantly, literally nothing changes for (cool) users who (righteously) block
|
|||
It is perfect [progressive enhancement](https://en.wikipedia.org/wiki/Progressive_enhancement).
|
||||
|
||||
## Steps
|
||||
1. Add htmx to your `<head>`: <code class="long">{`<script src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.8/dist/htmx.min.js"></script>`}</code>
|
||||
1. Add htmx to your `<head>`: <code className="long">{`<script src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.8/dist/htmx.min.js"></script>`}</code>
|
||||
2. Add `hx-boost="true"` to your `<body>`.
|
||||
3. Add `hx-preserve="true"` to stuff that is static between pages (probably a sidebar/footer). Add a unique `id` if it doesn't already have one.
|
||||
4. Be happy that it works with and without JavaScript.
|
||||
|
|
|
|||
Loading…
Reference in a new issue