public static class

RenderContext.Builder

extends Object
java.lang.Object
   ↳ com.atlassian.stash.markup.RenderContext.Builder

Summary

Public Constructors
RenderContext.Builder()
RenderContext.Builder(RenderContext context)
Public Methods
RenderContext build()
RenderContext.Builder hardwrap(boolean value)
Whether the markup implementation should convert newlines to breaks.
RenderContext.Builder htmlEscape(boolean value)
RenderContext.Builder urlMode(UrlMode value)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RenderContext.Builder ()

public RenderContext.Builder (RenderContext context)

Public Methods

public RenderContext build ()

public RenderContext.Builder hardwrap (boolean value)

Whether the markup implementation should convert newlines to breaks. By default this is false which reflects the standard markdown specification.

public RenderContext.Builder htmlEscape (boolean value)

Parameters
value true if HTML should be escaped in the input markup, false otherwise.
Returns
  • this builder

public RenderContext.Builder urlMode (UrlMode value)