Skip to content

Does ZenCode allow Boolean Attributes? #42

@supermarjo

Description

@supermarjo

Hi,

Does ZenCode allow Boolean Attributes?

As described in this Emmet forum post:
http://stackoverflow.com/questions/14630725/does-emmet-allow-boolean-attributes

I am currently running Visual Studio 2013 with Web Essentials and wonder if i can enable this feature.

Example shortcode / ZenCode:
input.form-input-text[placeholder="Enter text here" required.]

Outputs HTML:
<input class="form-input-text" placeholder="Enter text here" required.="">

But i would like it to output this HTML (with a clean "required"):
<input class="form-input-text" placeholder="Enter text here" required>

(as emmet renders it since they allow boolean attributes, utilizing a trailing dot)

Best regards,

Tobias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions