Skip to content

BenLauwens/NativeHTML.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NativeHTML

A pure Julia HTML generator. Using do blocks and keyword arguments, a one-to-one mapping is implemented between the HTML standard and Julia.

html() do
    head() do
        title("Hello, World!")
    end
    body() do
        div() do
            span("Hello", style="color:red;")
            text(",")
            b("World!")
        end
    end
end
<!DOCTYPE html>
<html>
 <head>
  <title>Hello, World!</title>
 </head>
 <body>
  <div>
   <span style="color:red;">Hello</span>
   ,
   <b>World!</b>
  </div>
 </body>
</html>

Build Status & Coverage

TODO

Installation

NativeHTML.jl has not yet been registered but can be installed by running

julia> using Pkg

julia> pkg"add https://github.com/BenLauwens/NativeHTML.jl.git"

Documentation

TODO

License

link:"https://github.com/BenLauwens/NativeHTML.jl/blob/master/LICENSE"

Authors

  • Ben Lauwens, Royal Military Academy, Brussels, Belgium.

Contributing

  • To discuss problems or feature requests, file an issue. For bugs, please include as much information as possible, including operating system and julia version.

  • To contribute, make a pull request. Contributions should include tests for any new features/bug fixes.

Release Notes

  • v0.1 (2020): Initial release.

Todo

  • Documentation.

About

A pure Julia HTML generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages