A lightweight component library for code editing and syntax highlighting
npm install light-penA small lightweight editor using and a
Inspired by Chris Ferdinandi
```
npm install light-pen
`js
// Auto-register
import "light-pen";
// Registry yourself
import LightPen from "light-pen/exports/components/light-pen/light-pen.js";
LightPen.define(); // Registers
// Register under another name
import LightPen from "light-pen/exports/components/light-pen/light-pen.js";
LightPen.define("other-name");
`
`html`
That's it!
`html
`
`html`
My Awesome Editor
Takes a string of comma separated languages to open on initial render.
``
More to come for more docs coming on how to change things!
- [ ] - Implement an extendable LightPenBase which includes a pluggable syntax highlighter and theme.
- [ ] - Implement