| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Super light-weight HTML5 DSL written in pure Kotlin!
Learn how to use kHTML by reading our wiki here.
fun makeUserDisplay(users: List<String>) =
html {
body {
this write users.map { userEntry(it) }
}
}
fun userEntry(name: String) =
div {
p {
this write "Hello! My name is $name"
}
}Unfortunately, kHTML artifacts are not currently available on maven central. The reasoning for this can be found here.
For the time being, you can pull kHTML artifacts from GitHub Packages.
Gradle
implementation("com.daymxn:khtml:1.0.0")Maven
<dependency>
<groupId>com.daymxn</groupId>
<artifactId>khtml</artifactId>
<version>1.0.0</version>
</dependency>Contributions are always welcome!
See contributing.md for ways to get started.
| Back | FazBrowse Home | New Git URL |