magnumrocha
04/18/2020, 11:16 AMnapperley
04/20/2020, 11:03 PMnapperley
04/20/2020, 11:05 PMmagnumrocha
04/21/2020, 8:33 AMNikky
06/17/2020, 3:41 PMstatic only content generator
Nikky
06/17/2020, 3:43 PMmagnumrocha
06/17/2020, 7:21 PMmagnumrocha
06/17/2020, 7:23 PMnapperley
06/17/2020, 9:06 PMNikky
06/17/2020, 10:45 PMNikky
06/19/2020, 9:13 AMcontentRoot/index.html.file.kts
generate {
createHTML(prettyPrint = true).html {
head {}
body {
h1{
+"Hello"
}
div{
+"World"
}
}
}
}
i am considering to just use the implicit return value of the file or provide a different api to assign the string content
on top of that either on library or userlevel there can be added: css, html
cross file interactions might also be useful, so i am lookign into eg. a css extension pn any tag that will add its css to a global stylesheet and then add the class to the html
but this is all just one late evening of trying around, most time stpent on making it work in idea and gradle properlymagnumrocha
06/19/2020, 9:28 AMmagnumrocha
06/19/2020, 9:29 AMmagnumrocha
06/19/2020, 9:30 AMmagnumrocha
06/19/2020, 9:30 AMNikky
06/19/2020, 9:31 AMsrc/main/kotlin
and at runtime it invokes the "processor" with all libraries added to the classpathNikky
06/19/2020, 9:33 AMNikky
06/19/2020, 9:45 AMmagnumrocha
06/19/2020, 9:47 AMNikky
06/19/2020, 9:48 AMmagnumrocha
06/19/2020, 9:49 AMmagnumrocha
06/19/2020, 9:51 AMNikky
06/19/2020, 10:01 AM