1.0.0 • Published 4 months ago

pseudo-ide v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Pseudo

A pseudocode editor that follows the Cambridge International AS & A Level Computer Science (9618) standards.

Features

  • Syntax highlighting for Cambridge pseudocode
  • Variable declaration checking
  • Code formatting
  • File management
  • Auto-completion
  • Error detection
  • Dark/Light themes

Installation

npm install pseudo-ide

Usage

import { Pseudo } from 'pseudo-ide';
import 'pseudo-ide/dist/styles.css';

const pseudo = new Pseudo({
    showToolbar: true,
    layout: 'vertical',
    theme: 'dark'
});

pseudo.mount('#editor-container');

Configuration

const options = {
    layout: 'vertical', // 'vertical' | 'horizontal'
    theme: 'dark', // 'dark' | 'light'
    showToolbar: true,
    resizable: true,
    editorConfig: {
        fontSize: 14,
        lineNumbers: true
    }
};

License

MIT