31 lines
1,007 B
Markdown
31 lines
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.
|