Created
October 5, 2015 18:43
-
-
Save jeshan/1e62b88e935f70b900a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Body div() { | |
divs.add(Div.create(this)); | |
return this; | |
} | |
public Body heading(Heading.Level level, String content) { | |
Heading heading = Heading.create(level, content, this); | |
headers.get(level).add(heading); | |
return this; | |
} | |
public Body paragraph(String content) { | |
paragraphs.add(content); | |
return this; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment