A modular cyberpunk-themed markdown to HTML document generator with real-time preview and stunning visual effects.
cyberdocs/
├── README.md
├── doc
│ └── app_screenshot.png
├── index.html
├── js
│ ├── app.js
│ ├── config.js
│ └── effects.js
└── styles
├── animations.css
├── base.css
├── cyberpunk.css
└── layout.css
- Real-time preview of markdown
- Split-screen interface (editor + preview)
- Keyboard shortcuts (Ctrl+B for bold, Ctrl+I for italic, Ctrl+K for code)
- Responsive design for different screen sizes
- Neon color scheme (green/cyan primary, red accents)
- Glitch effects on headers
- Terminal-style code blocks
- Classified blockquotes
- Corporate data tables
- Animated scanline effect
- Typing effects with subtle screen glitches
- Random glitch animations on headers
- Optional matrix rain effect (performance intensive)
- Hover effects with neon glows
- Add effect configuration to
js/config.js - Implement the effect in
js/effects.js - Add CSS animations to
styles/animations.css
Edit styles/cyberpunk.css to modify how markdown elements appear:
- Headers:
.preview h1, h2, h3 - Code blocks:
.preview pre - Tables:
.preview table - Blockquotes:
.preview blockquote
Modify the templates object in js/app.js to add new document templates:
const templates = {
yourTemplate: `# YOUR TEMPLATE
**Custom content here**`,
// ... more templates
};TODO: add a GUI for configuration options
- Add CSS rules to
styles/cyberpunk.css - Follow the existing naming pattern
- Use CSS custom properties for colors
- Add effect class to
js/effects.js - Add corresponding CSS animations to
styles/animations.css - Initialize in the main app
- Export to PDF functionality
- More document templates, like cyberpunk Red campaign notes
- Parameter menu for customizing effects
Ready to hack the Gibson? Start creating your cyberpunk documents!
