Skip to content

Instantly share code, notes, and snippets.

@jeshan
Created October 5, 2015 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeshan/f44a3bcf28d3dc3746a9 to your computer and use it in GitHub Desktop.
Save jeshan/f44a3bcf28d3dc3746a9 to your computer and use it in GitHub Desktop.
public String getMeSomeHtml() {
return html()
.head()
.meta("charset", "UTF-8")
.meta("viewport", "width=device-width")
.html()
.body()
.paragraph("hello, world!")
.heading(Heading.Level.ONE, "Level one text")
.html().toString();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment