website-htmx-rustelo-code/scripts/download/README.md
2026-07-10 03:44:13 +01:00

31 lines
No EOL
1,007 B
Markdown

# Download Scripts Directory
This directory contains scripts for downloading external resources and dependencies.
## Scripts
### CSS and Styling Downloads
- **`download-highlight-css.js`** - Download highlight.js CSS theme from CDN
- **`download-highlightjs-copy-css.js`** - Download highlightjs-copy CSS file from CDN
## Usage
### Highlight.js CSS Theme Download
```bash
# Download GitHub Dark theme for syntax highlighting
node scripts/download/download-highlight-css.js
```
### Highlight.js Copy Plugin CSS
```bash
# Download CSS for the copy button plugin
node scripts/download/download-highlightjs-copy-css.js
```
## Purpose
These scripts download external CSS dependencies that are not available through npm or need to be fetched from CDNs. They help maintain consistent styling for code highlighting and related UI components.
## Migration Notes
These scripts were moved from the main `scripts/` directory to improve organization. All internal path references have been updated accordingly.