You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1146a3d
Browse filesBrowse the repository at this point in the historyBrowse files
uv run python scripts/optimize_image.py docs/posts/YYYY/MM/DD/your_image.png
136
136
```
137
137
138
138
This will create an optimized `.webp` file alongside the original. Update your post's markdown to reference the new `.webp` file, then delete the original if no longer needed.
@@ -148,13 +148,13 @@ This will create an optimized `.webp` file alongside the original. Update your p
uv run python scripts/optimize_image.py --quality 90 --max-width 1600 image.jpeg
158
158
```
159
159
160
160
@@ -167,27 +167,26 @@ To see all categories and tags currently in use, run:
167
167
168
168
**Bash (Linux/macOS)**:
169
169
```bash
170
-
python3 scripts/find_tags_categories.py
170
+
uv run python scripts/find_tags_categories.py
171
171
```
172
172
173
173
**PowerShell (Windows)**:
174
174
```powershell
175
-
python scripts/find_tags_categories.py
175
+
uv run python scripts/find_tags_categories.py
176
176
```
177
177
178
-
This script requires `pyyaml`, which is included in `requirements.txt`. It is also run automatically by the `create_post` scripts when scaffolding a new post.
178
+
This script requires `pyyaml`, which is included in the dev dependencies. It is also run automatically by the `create_post` scripts when scaffolding a new post.
0 commit comments