the post editor (and liquid editor and lua editor) need syntax highlighting #57

Closed
opened 2026-07-20 18:36:30 +00:00 by hugo · 1 comment
Owner

I thought that was there, but the editors are plain white on black instead of syntax highlighted. That needs to be added, the old bDS2 app had it, too.

I thought that was there, but the editors are plain white on black instead of syntax highlighted. That needs to be added, the old bDS2 app had it, too.
hugo added the enhancement label 2026-07-20 18:36:30 +00:00
Author
Owner

Implemented in e6fa506. Added dedicated Markdown-with-macros and Liquid Syntect grammars, retained Lua syntax parsing, and translated the editor palette to the bDS2/VS Dark colors. Markdown coverage includes headings, links, inline and fenced code, strong/emphasis, lists, quotes, and bDS macros; Liquid covers HTML, output expressions, tags, filters, values, and comments. Added token-level and palette regression tests and updated README. Verified against the bDS2 Monaco language/theme definitions and the Allium post/template/script editor guarantees. Verification passed: cargo test -p bds-editor --lib (50 tests), cargo test --workspace, cargo build --workspace, and native macOS visual checks of Lua, Liquid/HTML, and a real Markdown post link.

Implemented in e6fa506. Added dedicated Markdown-with-macros and Liquid Syntect grammars, retained Lua syntax parsing, and translated the editor palette to the bDS2/VS Dark colors. Markdown coverage includes headings, links, inline and fenced code, strong/emphasis, lists, quotes, and bDS macros; Liquid covers HTML, output expressions, tags, filters, values, and comments. Added token-level and palette regression tests and updated README. Verified against the bDS2 Monaco language/theme definitions and the Allium post/template/script editor guarantees. Verification passed: cargo test -p bds-editor --lib (50 tests), cargo test --workspace, cargo build --workspace, and native macOS visual checks of Lua, Liquid/HTML, and a real Markdown post link.
hugo closed this issue 2026-07-20 19:40:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hugo/RuDS#57