Skip to content

Add keyword style flag #3

@kwrooijen

Description

@kwrooijen

Add a --keyword-styles flag to output styles as keywords.
This should also be configurable in Emacs.

default

[:div {:style "display: block;"}]

--keyword-style / (setq hiccup-cli-keyword-style t)

[:div {:style {:display :block}}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions