Skip to content

feat: boolean attributes - #3

Open
0riginaln0 wants to merge 1 commit into
RattleyCooper:mainfrom
0riginaln0:patch-1
Open

0riginaln0 wants to merge 1 commit into
RattleyCooper:mainfrom
0riginaln0:patch-1

Conversation

@0riginaln0

Copy link
Copy Markdown

HTML Boolean attribute

For syntax like:

input type="checkbox", checked
<input type="checkbox" checked>
`div` `proc`, n1, n2:
  "some text"
<div proc n1 n2>
  some text
</div>

[HTML Boolean attribute](https://developer.mozilla.org/en-US/docs/Glossary/Boolean/HTML)

For syntax like:
```nim
input type="checkbox", checked
```
```html
<input type="checkbox" checked>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant