lantern

LiveCode

A real code editor, in a textarea.

livecode adds syntax highlighting, autocomplete, snippets, diagnostics, and live HTML preview to a plain <textarea>. View on GitHub →

Language

Mode

Type to highlight. Press Ctrl/⌘ + Space for completions. HTML exposes Code, Preview, and Split. SQL and JSON stay code-only. HEEx demonstrates Lantern's server-rendered read-only snippets.