Closed yurivish closed 6 years ago
@tshort thoughts? If this feels like the right approach I'll add back the documentation, adjusted appropriately.
julia> using Hyperscript julia> @tags h1 span a julia> node = h1(span("This is "), a("a link"), span("to nowhere.")) <h1><span>This is </span><a>a link</a><span>to nowhere.</span></h1> julia> Pretty(node) <h1> <span>This is </span> <a>a link</a> <span>to nowhere.</span> </h1> julia> Pretty(node, indent="\t") <h1> <span>This is </span> <a>a link</a> <span>to nowhere.</span> </h1>
Looks good to me...
@tshort thoughts? If this feels like the right approach I'll add back the documentation, adjusted appropriately.