Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

SquibView Documentation

Welcome to the SquibView documentation! This directory contains comprehensive documentation for the SquibView library.

Documentation Structure

Complete API documentation for SquibView classes and methods.

📖 Guides

Step-by-step guides and tutorials.

Documentation for contributors and developers.

Code examples and demos.

Command-line interface documentation.

📋 Other Documentation

Quick Links

  • Repository: GitHub
  • NPM Package: squibview
  • CDN: Available via jsDelivr and unpkg

Getting Started

Installation

npm install squibview

Basic Usage

import SquibView from 'squibview';
import 'squibview/dist/squibview.css';

const editor = new SquibView('#editor', {
  initialContent: '# Hello World',
  inputContentType: 'md',
  initialView: 'split'
});

CDN Usage

<!-- 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>

Features

  • 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

Version

See [release-notes]/(./docs/release-notes.md)

License

MIT License - See LICENSE for details

Support

For issues, questions, or contributions, please visit the GitHub repository.