Code Snippet for HubSpot
Powerd by GitHub Gist
Embed real GitHub Gists directly into your HubSpot pages.
System theme support, flexible styling, and full multi-file integration.
β‘ Why Code Snippet?
- Show real code, not screenshots
- Support for multiple files inside a single Gist
- Option to display only one file when a Gist contains many
- Fast loading with built-in caching
π¨ Flexible Styles
- System appearance support: automatically adapts to light π or dark π mode
- Manual override: always light or always dark
- Rounded corners for a modern look
- Optional footer with file name and GitHub link
π Control the Lines
- Display only specific lines
- Highlight important lines or ranges
- Collapse long code blocks with expand option
π Multi-File Support
- Show the entire Gist or only a single file
- Perfect for tutorials, documentation, or code libraries
π Built for Modern Web
The Code Snippet (GitHub Gist) module loads only when needed β and with smart caching, repeated Gists are reused instantly.
Your HubSpot pages stay fast, lean, and developer-friendly, with custom styling and a graceful fallback link.
Ready to upgrade your docs & articles?
Give your HubSpot pages developer-grade power with GitHub Gist embeds.
Get on HubSpot MarketplaceWant the full recipe? Check the documentation.