website-htmx-rustelo-code/scripts/download
2026-07-10 03:44:13 +01:00
..
download-cytoscape.js init repo with source 2026-07-10 03:44:13 +01:00
download-highlight-css.js init repo with source 2026-07-10 03:44:13 +01:00
download-highlightjs-copy-css.js init repo with source 2026-07-10 03:44:13 +01:00
README.md init repo with source 2026-07-10 03:44:13 +01:00

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

# Download GitHub Dark theme for syntax highlighting
node scripts/download/download-highlight-css.js

Highlight.js Copy Plugin CSS

# 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.