Skip to content

deemp/phi-editor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phi editor

Try online

Features

Use with your HTML

  1. Create a tag with id="phi-editor". The editor tab will be attached to it. You can change tag id in ./src/main.ts where view is declared.
  2. Add the script and styles from ./docs, e.g.:
<script type="module" src="./phi-editor.js"></script>
<link rel="stylesheet" href="./phi-editor.css">

Development

  • Install the dependencies and run in rebuild-on-change mode
npm i && npm run dev

About

Minimal φ editor. Uses CodeMirror 6 and Lezer grammar

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.1%
  • JavaScript 2.9%