A collection of guides, tools, and tips for building whatever comes to mind.
npm install
npm run build
cookbook/
├── assets/ # CSS, images, favicon
├── docs/ # Markdown content
├── scripts/ # Build scripts
└── index.html # Homepage
- Create a markdown file in
/docs/
:
# Guide Title
Brief introduction.
## Section
Content here...
## Code Example
```javascript
console.log('Hello World');
2. Add card to `index.html`:
```html
<div class="guide-card">
<h3>Guide Title</h3>
<p>Description</p>
<a href="docs/your-guide.html" class="guide-link">Read Guide →</a>
</div>
- Build:
npm run build
- 🌓 Dark/light mode toggle
- 📱 Responsive design
- 🎨 Syntax highlighting
- 📋 Code copy buttons
- 📍 Sticky navigation
- 📱 Mobile-friendly
Edit theme variables in style.css
:
:root {
--bg-color: #1a1b26;
--text-color: #a9b1d6;
/* ... */
}
- Update
build.js
template - Add styles to
style.css
- Modify
index.html
if needed
- Build fails: Run
npm install
- Styles not updating: Clear browser cache
- Code blocks not highlighting: Check language specification
Content available under CC0.