Skip to content

Commit

Permalink
Document lineBreakRendering
Browse files Browse the repository at this point in the history
  • Loading branch information
robinst committed Sep 24, 2024
1 parent 97eeb6a commit 1906ee9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
public interface TextContentNodeRendererContext {

/**
* TODO
*
* @return
* Controls how line breaks should be rendered, see {@link LineBreakRendering}.
*/
LineBreakRendering lineBreakRendering();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,11 @@ public TextContentRenderer build() {
}

/**
* TODO
* Configure how line breaks (newlines) are rendered, see {@link LineBreakRendering}.
* The default is {@link LineBreakRendering#COMPACT}.
*
* @param lineBreakRendering
* @return
* @param lineBreakRendering the mode to use
* @return {@code this}
*/
public Builder lineBreakRendering(LineBreakRendering lineBreakRendering) {
this.lineBreakRendering = lineBreakRendering;
Expand Down

0 comments on commit 1906ee9

Please sign in to comment.