Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hiccup for templating #15

Open
paintparty opened this issue Mar 8, 2025 · 0 comments
Open

Use hiccup for templating #15

paintparty opened this issue Mar 8, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@paintparty
Copy link
Owner

The current hiccupish syntax tends to get a little noisey for multi-line messages with variously styled elements.

Replace the current convention with hiccup:

(bling
  [[:br]
   [:p "Value for the "
    [:bold (str ":-" opt-sym)]
    " option must pass this predicate:" [:br]
    [:bold (if (set? pred) (str pred) pred)]]
   [:br]
   [:p "Check out the docs for more info:" [:br]
    [:a {:href "my-url"} "my-url"]]]
@paintparty paintparty added the enhancement New feature or request label Mar 8, 2025
@paintparty paintparty self-assigned this Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant