The Smart, Stylish, and Flexible Code Editor & Highlighter
✨ Introduction
CodeFuse is a modern code highlighting and editing solution for the web. It supports hybrid languages like JavaScript + CSS + HTML, adds line numbers dynamically, and gives you a beautiful UI with themes and toolbars.
⚡ Use Cases
- Embed code editors in blogs, tutorials, or documentation.
- Provide live query/code generators in applications.
- Create shareable, copy-enabled code snippets for developers.
🛠️ Technology
CodeFuse is powered by JavaScript with custom regex-based parsing, lightweight CSS themes, and dynamic DOM manipulation for toolbars, line numbers, and branding.
🌟 Features
🎨 Multiple Themes (Light, Dark, Cyber, Midnight)
🔢 Dynamic Line Numbers with Cursor Safety
📝 Toolbar with Copy, Export, Wrapline Options
🚀 Hybrid Language Highlighting
📦 Plug & Play Integration
⚡ Lightweight and Fast
CodeFuse Embed Generator
<script src="https://script.google.com/macros/s/AKfycby6vN8dwEFSBHMe2Jvx0AL7GiZ2LOt-byPh0rqAn-VWlWzEuc1coyJ_IZm_PZ-uYb-B/exec?theme=default&language=javascript"></script>
<div id="editor1" data-codefuse="true" contenteditable="true" codefuselang="javascript" class="cf-editor"></div>