- All Implemented Interfaces:
Markdown
@Immutable
@Loggable(1)
public final class MkMarkdown
extends Object
implements Markdown
Mock markdown API.
- Since:
- 0.10
-
Constructor Summary
Constructors
-
Method Summary
render(jakarta.json.JsonObject json)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MkMarkdown
public MkMarkdown(GitHub github)
Creates new instance.
- Parameters:
github - Owner github
-
Method Details
-
github
Description copied from interface: Markdown
Get its owner.
- Specified by:
github in interface Markdown
- Returns:
- GitHub
-
render
public String render(jakarta.json.JsonObject json)
Description copied from interface: Markdown
Render.
- Specified by:
render in interface Markdown
- Parameters:
json - JSON parameters
- Returns:
- HTML
-
raw
Description copied from interface: Markdown
Raw rendering.
- Specified by:
raw in interface Markdown
- Parameters:
text - Text in Markdown format
- Returns:
- HTML