code: public static TextElement code(String text) {
  		TextElement element = text(text);
  		element.textStyles.add(TextStyle.CODE);
  		return element;
  	}
docs: Creates a block of text formatted as code.
  
  @param text a block of text that will be formatted as code
  @return block of text formatted as code