Skip to content

Highlight views; 1.9.0 - #7

Open
matthewp wants to merge 1 commit into
mainfrom
views
Open

matthewp wants to merge 1 commit into
mainfrom
views

Conversation

@matthewp

Copy link
Copy Markdown
Collaborator

view gets the keyword colour (state's), and a view's block is highlighted as HTML (Prism's markup grammar), with {key} and {part(name)} as Lucy values, in text and as attribute values. Markup's quoted attributes are its own, not Lucy strings.

test/view.js tokenizes a machine's view and a state's part with prismjs 1.25 (a dev dependency now, so CI runs npm ci).

Goes with liblucy's views PR, lucydsl/liblucy#97.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant