Hyperscript.jl
Hyperscript.jl copied to clipboard
Hyperscript: A lightweight DOM representation for Julia
Heyo, today I wanted to add some [Custom CSS properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) to my code and noticed that I wasn't able to produce the leading double hyphen, e.g., `--outline-color` with a *camelCased*...
When trying to create an attribute with the key "\_", the kebab function used for the attribute name normalization caused the "\_" name to be mapped to "-\_". However, even...
## Problem When calling `savehtml()` it adds an extra layer of `` on top of what is already there. ## To reproduce: ``` julia> using Hyperscript julia> doc1 = m("html",...
[WIP] This should resolve #26.
```julia using Images img = load("my dog.jpg") @assert Base.showable(MIME"image/jpeg"(), img) m("div", x) ``` Gives me ```html Images.Image{blablalba} blablab ``` Hyperscript.jl could check `Base.showable` for MIME types like images and audio,...
Fix #20. Implemented as suggested in [comment](https://github.com/JuliaWeb/Hyperscript.jl/issues/20#issuecomment-590560901): ```julia julia> using Hyperscript julia> m("input", type="checkbox", checked=true) julia> m("input", type="checkbox", checked=false) julia> m("input", type="text", value=true) # as string if not a boolean...
This adds the proposed in/resolves #32: ```julia julia> using Hyperscript julia> @tags p julia> p() do "child" end child julia> m("p") do "child" end child ```
This adds a simple benchmark suite (resolves #19). A simple report can be generated as well, with graphs such as  The report can be...
Hi @yurivish, how do you feel about adding a **do-block syntax** (similar to [markaby](https://github.com/markaby/markaby))? That would allow one to write the following: ```julia using Hyperscript @tags div em a #...
Surprisingly, broadcast seems to do really badly with empty lists & Vector{Any} results. Removing the use of `showable()` made the biggest difference. Of course this can't stay like it, and...