1.0.0 • Published 4 months ago
pseudo-ide v1.0.0
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
1.0.0
4 months ago