Skip to content

Conversation

aqz236
Copy link

@aqz236 aqz236 commented Jul 7, 2025

  • Added externalCssFiles configuration to load external CSS files from URLs or local paths
  • Added cssLoadOrder configuration to control CSS loading priority
  • Implemented intelligent path resolution for relative/absolute paths
  • Added configuration change listener for hot reload
  • Enhanced HTML generation to include external CSS links
  • Added support for HTTP/HTTPS URLs with CORS handling
  • Maintained backward compatibility with existing customCss feature

Features:

  • Load CSS from HTTP/HTTPS URLs
  • Load CSS from local file paths (absolute and relative)
  • Smart path resolution relative to markdown file or workspace
  • Hot reload when configuration changes
  • Error handling and logging
  • Configurable CSS loading order

Examples:

aqz236 and others added 5 commits July 7, 2025 10:40
- Added externalCssFiles configuration to load external CSS files from URLs or local paths
- Added cssLoadOrder configuration to control CSS loading priority
- Implemented intelligent path resolution for relative/absolute paths
- Added configuration change listener for hot reload
- Enhanced HTML generation to include external CSS links
- Added support for HTTP/HTTPS URLs with CORS handling
- Maintained backward compatibility with existing customCss feature

Features:
- Load CSS from HTTP/HTTPS URLs
- Load CSS from local file paths (absolute and relative)
- Smart path resolution relative to markdown file or workspace
- Hot reload when configuration changes
- Error handling and logging
- Configurable CSS loading order

Examples:
- Network CSS: https://cdn.jsdelivr.net/npm/[email protected]/github-markdown.css
- Local CSS: ./styles/theme.css, /absolute/path/style.css
- Multiple files support with priority control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant