mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-04-10 12:46:02 +00:00
add editor support docs section and team page entry (#3720)
Adds a new "Editor Support" section under docs with a VS Code extension page linking to the HTMX Toolkit on the marketplace. Also adds André Ahlert Junior to the team page and an editors/vscode README pointing to the atoolz repo. Signed-off-by: André Ahlert <andre@aex.partners>
This commit is contained in:
6
editors/vscode/README.md
Normal file
6
editors/vscode/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# HTMX Toolkit for VS Code
|
||||
|
||||
HTMX Toolkit extension for Visual Studio Code with autocomplete, hover documentation, and snippets.
|
||||
|
||||
- **Marketplace:** https://marketplace.visualstudio.com/items?itemName=atoolz.htmx-vscode-toolkit
|
||||
- **Source:** https://github.com/atoolz/htmx-vscode-toolkit
|
||||
BIN
www/src/assets/img/team/andre.png
Normal file
BIN
www/src/assets/img/team/andre.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 263 KiB |
84
www/src/assets/img/thumbnails/docs/editors.svg
Normal file
84
www/src/assets/img/thumbnails/docs/editors.svg
Normal file
@@ -0,0 +1,84 @@
|
||||
<svg viewBox="0 0 128 128" overflow="visible" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.editor-icon {
|
||||
--v1: var(--color-neutral-150);
|
||||
--v2: var(--color-neutral-200);
|
||||
--v3: var(--color-neutral-300);
|
||||
--v4: var(--color-neutral-350);
|
||||
--accent: var(--color-neutral-400);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.editor-icon {
|
||||
--v1: var(--color-neutral-650);
|
||||
--v2: var(--color-neutral-700);
|
||||
--v3: var(--color-neutral-750);
|
||||
--v4: var(--color-neutral-850);
|
||||
--accent: var(--color-neutral-850);
|
||||
}
|
||||
}
|
||||
.group:has(a:hover, a:focus-visible, a:active) .editor-icon {
|
||||
--v1: var(--color-neutral-150);
|
||||
--v2: var(--color-neutral-200);
|
||||
--v3: var(--color-neutral-350);
|
||||
--v4: var(--color-neutral-450);
|
||||
--accent: var(--color-neutral-500);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.group:has(a:hover, a:focus-visible, a:active) .editor-icon {
|
||||
--v1: var(--color-neutral-300);
|
||||
--v2: var(--color-neutral-400);
|
||||
--v3: var(--color-neutral-500);
|
||||
--v4: var(--color-neutral-600);
|
||||
--accent: var(--color-neutral-350);
|
||||
}
|
||||
}
|
||||
|
||||
.editor-icon .gs { transition: fill 150ms, stroke 150ms; stroke-width: 0.5; stroke-linejoin: round; }
|
||||
.editor-icon .gs1 { fill: var(--v1); stroke: var(--v1); }
|
||||
.editor-icon .gs2 { fill: var(--v2); stroke: var(--v2); }
|
||||
.editor-icon .gs3 { fill: var(--v3); stroke: var(--v3); }
|
||||
.editor-icon .gs4 { fill: var(--v4); stroke: var(--v4); }
|
||||
.editor-icon .gs-accent { fill: var(--accent); stroke: var(--accent); transition: fill 150ms, stroke 150ms; }
|
||||
|
||||
.editor-icon .cursor {
|
||||
transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
}
|
||||
.group:has(a:hover, a:focus-visible, a:active) .editor-icon .cursor {
|
||||
transform: translate(6px, -3px);
|
||||
}
|
||||
</style>
|
||||
|
||||
<g class="editor-icon">
|
||||
<!-- Screen: isometric monitor face -->
|
||||
<polygon class="gs gs1" points="24,48 64,28 104,48 64,68" />
|
||||
<polygon class="gs gs3" points="24,48 64,68 64,82 24,62" />
|
||||
<polygon class="gs gs4" points="64,68 104,48 104,62 64,82" />
|
||||
|
||||
<!-- Title bar -->
|
||||
<polygon class="gs gs2" points="32,48 64,32 96,48 64,64" />
|
||||
|
||||
<!-- Code lines on screen -->
|
||||
<line class="gs gs4" x1="40" y1="52" x2="56" y2="44" style="stroke-width: 2;" />
|
||||
<line class="gs gs4" x1="46" y1="56" x2="68" y2="45" style="stroke-width: 2;" />
|
||||
<line class="gs gs4" x1="40" y1="60" x2="60" y2="50" style="stroke-width: 2;" />
|
||||
|
||||
<!-- Accent code lines -->
|
||||
<line class="gs-accent" x1="60" y1="44" x2="72" y2="38" style="stroke-width: 2;" />
|
||||
<line class="gs-accent" x1="72" y1="45" x2="82" y2="40" style="stroke-width: 2;" />
|
||||
|
||||
<!-- Cursor blink -->
|
||||
<g class="cursor">
|
||||
<polygon class="gs-accent" points="64,50 66,49 66,53 64,54" />
|
||||
</g>
|
||||
|
||||
<!-- Stand -->
|
||||
<polygon class="gs gs3" points="58,82 64,79 70,82 64,85" />
|
||||
<polygon class="gs gs4" points="58,82 64,85 64,90 58,87" />
|
||||
<polygon class="gs gs3" points="64,85 70,82 70,87 64,90" />
|
||||
|
||||
<!-- Base -->
|
||||
<polygon class="gs gs2" points="48,90 64,82 80,90 64,98" />
|
||||
<polygon class="gs gs3" points="48,90 64,98 64,100 48,92" />
|
||||
<polygon class="gs gs4" points="64,98 80,90 80,92 64,100" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
22
www/src/content/docs/09-editors/01-vscode.md
Normal file
22
www/src/content/docs/09-editors/01-vscode.md
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
title: "VS Code"
|
||||
description: "HTMX Toolkit extension for Visual Studio Code"
|
||||
keywords: ["vscode", "visual studio code", "editor", "intellisense", "autocomplete"]
|
||||
---
|
||||
|
||||
The [HTMX Toolkit](https://marketplace.visualstudio.com/items?itemName=atoolz.htmx-vscode-toolkit) extension adds htmx support to Visual Studio Code with autocomplete, hover documentation, and snippets.
|
||||
|
||||
## Features
|
||||
|
||||
- Attribute autocomplete for all htmx attributes (`hx-get`, `hx-post`, `hx-target`, etc.)
|
||||
- Hover documentation with links to the official docs
|
||||
- Snippets for common htmx patterns
|
||||
- Support for htmx 2.x and 4.x
|
||||
|
||||
## Installing
|
||||
|
||||
Search for **HTMX Toolkit** in the VS Code Extensions panel, or install from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=atoolz.htmx-vscode-toolkit).
|
||||
|
||||
## Source
|
||||
|
||||
The extension source code is maintained at [atoolz/htmx-vscode-toolkit](https://github.com/atoolz/htmx-vscode-toolkit).
|
||||
5
www/src/content/docs/09-editors/index.md
Normal file
5
www/src/content/docs/09-editors/index.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: "Editor Support"
|
||||
description: "IDE plugins and editor extensions for htmx development"
|
||||
thumbnail: "docs/editors.svg"
|
||||
---
|
||||
@@ -38,4 +38,9 @@
|
||||
- name: Stu Kennedy
|
||||
image: /src/assets/img/team/stu.png
|
||||
github: bigskysoftware
|
||||
content: Full-Stack Human, Part-Time AI Whisperer, and HTMX Preacher at Large.
|
||||
content: Full-Stack Human, Part-Time AI Whisperer, and HTMX Preacher at Large.
|
||||
|
||||
- name: André Ahlert Junior
|
||||
image: /src/assets/img/team/andre.png
|
||||
github: andreahlert
|
||||
content: Building the tools htmx deserves, one extension at a time.
|
||||
Reference in New Issue
Block a user