Skip to content

Improve templating ergonomics #11

@askonomm

Description

@askonomm

Currently the way you create templates using the $ helper is fairly strict and limited.

For example this does not work:

($ :div "hello world")

You'd have to do this instead:

($ :div
  ($ "hello world"))

I'd like to make this better by allowing any item inside a $ to be allowed, with clever enough heuristics to recognize sequences and know what to do with them.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions