Skip to content

Instantly share code, notes, and snippets.

@jeshan
Created October 5, 2015 18:49
Show Gist options
  • Save jeshan/1a0b6721864f59ebb13a to your computer and use it in GitHub Desktop.
Save jeshan/1a0b6721864f59ebb13a to your computer and use it in GitHub Desktop.
html
.body()
.heading(Heading.Level.ONE, "Hello h1")
.paragraph("Some text in a paragraph goes here")
.heading(Heading.Level.TWO, "level 2")
.paragraph("Give me a second paragraph");
/*
<html>
<body>
<h1>Hello h1</h1>
<p>Some text in a paragraph goes here</p>
<h2>level 2</h2>
<p>Give me a second paragraph</p>
</body>
</html>
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment