krz/org-live

An org-mode editor with live preview. editor live-preview org-mode web https://org.krz.sh

org-live

support this project through github sponsors.

what

org-live is a live environment for writing and editing org-mode. https://org.krz.sh

does

  • plain text editor with capitalization, autocorrect, spellcheck
  • org syntax highlighting and line numbers in the editor
  • light and dark themes, following the system setting
  • html output of the written org-mode
  • download the org-mode to a file
  • download the parsed html to a file

screenshots

screenshots/light_preview.png
org-live in light mode
screenshots/dark_preview.png
org-live in dark mode

build

Swift compiled to WebAssembly with ElementaryUI, rendering with OrgSwift.

Requires the swift.org 6.4.2 toolchain, the 6.4.2 Wasm SDKs, and org-swift checked out at ../org-swift.

npm ci
npm run build    # writes dist/

The page needs script-src 'self' 'wasm-unsafe-eval' if served with a CSP.

About

Swift 67%CSS 28.1%Org 3%HTML 1.3%TypeScript 0.6%

1 contributorcmc

Clone

SSH
git clone ssh://git@gitbay.org/krz/org-live.git
HTTPS
git clone https://gitbay.org/krz/org-live.git