Welcome to the SquibView documentation! This directory contains comprehensive documentation for the SquibView library.
Complete API documentation for SquibView classes and methods.
- SquibView Class - Main editor class
- Methods - All public methods
- Options - Configuration options
- Events - Event system reference
📖 Guides
Step-by-step guides and tutorials.
- Getting Started
- Installation
- Headless Mode - Using SquibView without UI
- Programmer's Guide - Comprehensive usage guide
Documentation for contributors and developers.
📝 Examples
Code examples and demos.
- Basic Examples - HTML example files
- Demo Content
- Demo Guide
Command-line interface documentation.
- CLI Guide - Using the squibv CLI tool
- CLI Readme - Quick reference
- Release Notes - Complete version history and changelog
- Selection API - Working with text selection
- UMD Build Configuration - Build setup guide
npm install squibviewimport SquibView from 'squibview';
import 'squibview/dist/squibview.css';
const editor = new SquibView('#editor', {
initialContent: '# Hello World',
inputContentType: 'md',
initialView: 'split'
});<!-- CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/squibview/dist/squibview.min.css">
<!-- JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/squibview/dist/squibview.umd.min.js"></script>
<script>
const editor = new SquibView('#editor');
</script>- Multi-format Support: Markdown, HTML, RevealJS presentations, CSV/TSV
- Live Preview: Real-time rendering with split-screen view
- Syntax Highlighting: Code block highlighting with highlight.js
- Diagrams: Mermaid diagram support
- Math: LaTeX math rendering with MathJax
- Maps: GeoJSON/TopoJSON visualization
- 3D Models: STL file viewing
- Revision History: Undo/redo with diff-based history
- Copy Support: Smart clipboard operations
- Line Numbers: Optional line numbering
- Plugin System: Extensible renderer architecture
See [release-notes]/(./docs/release-notes.md)
MIT License - See LICENSE for details
For issues, questions, or contributions, please visit the GitHub repository.