Skip to content

HTML inline style conversion #4

@letil

Description

@letil
<span style="color: red">I am red!</span>

generates

  span(style = "color: red"):
    text "I am red!"

but the correct is

  span(style = style({color: "red".kstring})):
    text "I am red!"

The generated nim file must auto import the karax/vstyles if needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions