Class MarkdownFormatter
- java.lang.Object
-
- com.carfey.ops.job.config.formatter.MarkdownFormatter
-
- All Implemented Interfaces:
Formatter
public class MarkdownFormatter extends java.lang.Object implements Formatter
- Version:
- As of 4.3.0
- See Also:
- Flexmark Java
-
-
Constructor Summary
Constructors Constructor Description MarkdownFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdescriptionToHtml(java.lang.String value)Removes opening<p>and closing</p>if entire value is wrapped.
-
-
-
Method Detail
-
descriptionToHtml
public java.lang.String descriptionToHtml(java.lang.String value)
Removes opening<p>and closing</p>if entire value is wrapped.- Specified by:
descriptionToHtmlin interfaceFormatter- Parameters:
value- is aDescription.value()orParameter.description()with formatting instructions. If there are no formatting instructions, the same text value should be returned as is.- Returns:
- HTML formatted value.
-
-