Skip to content

Commit 9ea992c

Browse files
author
scrhartley
committed
Fix broken highlighting
1 parent 915a240 commit 9ea992c

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

www/content/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ An unminified version is also available at `https://cdn.jsdelivr.net/npm/htmx-ex
11531153
While the CDN approach is simple, you may want to consider [not using CDNs in production](https://blog.wesleyac.com/posts/why-not-javascript-cdn). The next easiest way to install htmx extensions is to simply copy them into your project. Download the extension from `https://cdn.jsdelivr.net/npm/htmx-ext-extension-name` (replace `extension-name` with the name of the extension) e.g., https://cdn.jsdelivr.net/npm/htmx-ext-response-targets. Then add it to the appropriate directory in your project and include it where necessary with a `<script>` tag.
11541154

11551155
For npm-style build systems, you can install htmx extensions via [npm](https://www.npmjs.com/) (replace `extension-name` with the name of the extension):
1156-
```shell
1156+
```sh
11571157
npm install htmx-ext-extension-name
11581158
```
11591159
After installing, you'll need to use appropriate tooling to bundle `node_modules/htmx-ext-extension-name/dist/extension-name.js` (or `.min.js`). For example, you might bundle the extension with htmx core from `node_modules/htmx.org/dist/htmx.js` and project-specific code.

www/content/essays/you-cant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ example, a standard action on the web is to show and hide things based on a butt
274274
show and hide elements with only CSS and HTML, for example, by using an HTML input checkbox to track state. We can style
275275
an HTML label as a button and give it a `for="checkboxID`" attribute, so clicking the label toggles the checkbox.
276276
277-
```jsx
277+
```tsx
278278
<input id="published" class="hidden peer" type="checkbox"/>
279279
<label for="published" class="btn">toggle content</label>
280280

www/content/extensions/head-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ An unminified version is also available at https://cdn.jsdelivr.net/npm/htmx-ext
2929
While the CDN approach is simple, you may want to consider [not using CDNs in production](https://blog.wesleyac.com/posts/why-not-javascript-cdn). The next easiest way to install `head-support` is to simply copy it into your project. Download the extension from `https://cdn.jsdelivr.net/npm/htmx-ext-head-support`, add it to the appropriate directory in your project and include it where necessary with a `<script>` tag.
3030

3131
For npm-style build systems, you can install `head-support` via [npm](https://www.npmjs.com/):
32-
```shell
32+
```sh
3333
npm install htmx-ext-head-support
3434
```
3535
After installing, you'll need to use appropriate tooling to bundle `node_modules/htmx-ext-head-support/dist/head-support.js` (or `.min.js`). For example, you might bundle the extension with htmx core from `node_modules/htmx.org/dist/htmx.js` and project-specific code.

www/content/extensions/htmx-1-compat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ An unminified version is also available at https://cdn.jsdelivr.net/npm/htmx-ext
2020
While the CDN approach is simple, you may want to consider [not using CDNs in production](https://blog.wesleyac.com/posts/why-not-javascript-cdn). The next easiest way to install `htmx-1-compat` is to simply copy it into your project. Download the extension from `https://cdn.jsdelivr.net/npm/htmx-ext-htmx-1-compat`, add it to the appropriate directory in your project and include it where necessary with a `<script>` tag.
2121

2222
For npm-style build systems, you can install `htmx-1-compat` via [npm](https://www.npmjs.com/):
23-
```shell
23+
```sh
2424
npm install htmx-ext-htmx-1-compat
2525
```
2626
After installing, you'll need to use appropriate tooling to bundle `node_modules/htmx-ext-htmx-1-compat/dist/htmx-1-compat.js` (or `.min.js`). For example, you might bundle the extension with htmx core from `node_modules/htmx.org/dist/htmx.js` and project-specific code.

www/content/extensions/idiomorph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ While the CDN approach is simple, you may want to consider [not using CDNs in pr
2929

3030
For npm-style build systems, you can install `idiomorph` via [npm](https://www.npmjs.com/):
3131

32-
```shell
32+
```sh
3333
npm install idiomorph
3434
```
3535

www/content/extensions/preload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ An unminified version is also available at https://cdn.jsdelivr.net/npm/htmx-ext
2626
While the CDN approach is simple, you may want to consider [not using CDNs in production](https://blog.wesleyac.com/posts/why-not-javascript-cdn). The next easiest way to install `preload` is to simply copy it into your project. Download the extension from `https://cdn.jsdelivr.net/npm/htmx-ext-preload`, add it to the appropriate directory in your project and include it where necessary with a `<script>` tag.
2727

2828
For npm-style build systems, you can install `preload` via [npm](https://www.npmjs.com/):
29-
```shell
29+
```sh
3030
npm install htmx-ext-preload
3131
```
3232
After installing, you'll need to use appropriate tooling to bundle `node_modules/htmx-ext-preload/dist/preload.js` (or `.min.js`). For example, you might bundle the extension with htmx core from `node_modules/htmx.org/dist/htmx.js` and project-specific code.

www/content/extensions/response-targets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ An unminified version is also available at https://cdn.jsdelivr.net/npm/htmx-ext
3838
While the CDN approach is simple, you may want to consider [not using CDNs in production](https://blog.wesleyac.com/posts/why-not-javascript-cdn). The next easiest way to install `response-targets` is to simply copy it into your project. Download the extension from `https://cdn.jsdelivr.net/npm/htmx-ext-response-targets`, add it to the appropriate directory in your project and include it where necessary with a `<script>` tag.
3939

4040
For npm-style build systems, you can install `response-targets` via [npm](https://www.npmjs.com/):
41-
```shell
41+
```sh
4242
npm install htmx-ext-response-targets
4343
```
4444
After installing, you'll need to use appropriate tooling to bundle `node_modules/htmx-ext-response-targets/dist/response-targets.js` (or `.min.js`). For example, you might bundle the extension with htmx core from `node_modules/htmx.org/dist/htmx.js` and project-specific code.

www/content/extensions/sse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ An unminified version is also available at https://cdn.jsdelivr.net/npm/htmx-ext
3939
While the CDN approach is simple, you may want to consider [not using CDNs in production](https://blog.wesleyac.com/posts/why-not-javascript-cdn). The next easiest way to install `sse` is to simply copy it into your project. Download the extension from `https://cdn.jsdelivr.net/npm/htmx-ext-sse`, add it to the appropriate directory in your project and include it where necessary with a `<script>` tag.
4040

4141
For npm-style build systems, you can install `sse` via [npm](https://www.npmjs.com/):
42-
```shell
42+
```sh
4343
npm install htmx-ext-sse
4444
```
4545
After installing, you'll need to use appropriate tooling to bundle `node_modules/htmx-ext-sse/dist/sse.js` (or `.min.js`). For example, you might bundle the extension with htmx core from `node_modules/htmx.org/dist/htmx.js` and project-specific code.

www/content/extensions/ws.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ An unminified version is also available at https://cdn.jsdelivr.net/npm/htmx-ext
3333
While the CDN approach is simple, you may want to consider [not using CDNs in production](https://blog.wesleyac.com/posts/why-not-javascript-cdn). The next easiest way to install `ws` is to simply copy it into your project. Download the extension from `https://cdn.jsdelivr.net/npm/htmx-ext-ws`, add it to the appropriate directory in your project and include it where necessary with a `<script>` tag.
3434

3535
For npm-style build systems, you can install `ws` via [npm](https://www.npmjs.com/):
36-
```shell
36+
```sh
3737
npm install htmx-ext-ws
3838
```
3939
After installing, you'll need to use appropriate tooling to bundle `node_modules/htmx-ext-ws/dist/ws.js` (or `.min.js`). For example, you might bundle the extension with htmx core from `node_modules/htmx.org/dist/htmx.js` and project-specific code.

0 commit comments

Comments
 (0)