Mobile improvements:
- Fix content overflow issues on mobile devices
- Optimize code blocks and tables for small screens
- Add proper word-wrapping and container constraints
Dark mode enhancements:
- Replace icons with modern sun/moon designs
- Implement smooth icon switching with CSS transitions
- Simplify toggle logic for better performance
Resolves mobile layout issues and enhances theme switching experience
- Fix markdown-it-highlightjs configuration for Hexo 7.0+
- Create custom highlight.js instance to handle unknown languages gracefully
- Eliminate 'Could not find language' warning messages
- Upgrade ESLint to v9 with flat config format
- Update Fuse.js from 6.4.6 to 7.1.0
- Update multiple dependencies to latest versions
Technical changes:
- Set syntax_highlighter to empty in _config.yml
- Add langPrefix: 'hljs language-' configuration
- Migrate ESLint to eslint.config.js (flat config)
- Update Service Worker for new Fuse.js version
- Add comprehensive development tooling:
* ESLint configuration with modern JavaScript rules
* Prettier for consistent code formatting
* Husky for Git hooks automation
* lint-staged for pre-commit checks
* Conventional Commits with commitlint
* Stylelint for CSS code quality
- Fix CSS issues:
* Resolve duplicate selectors in layout_note.css
* Merge duplicate selectors in layout_list.css
* Ensure stylelint compliance
- Apply consistent code formatting:
* Format all JavaScript, CSS, and Markdown files
* Standardize code style across the project
* Fix console statement warnings in main.js
- Update project documentation:
* Enhance README with modern development practices
* Update package.json with new scripts and dependencies
This modernization establishes a robust development environment with
automated code quality checks, consistent formatting~
Formats all the general js files. Separate in case these should be
treated differently for any reason. This commit includes all javascript
and HTML files.