Package com.jcabi.github
Interface Markdown
-
- All Known Implementing Classes:
MkMarkdown
@Immutable public interface Markdown
Markdown API.- Since:
- 0.6
- Version:
- $Id: cb16318e774abeb48ae7e7748f2a2791861ba112 $
- Author:
- Yegor Bugayenko (yegor256@gmail.com)
- See Also:
- Markdown API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Githubgithub()Get its owner.Stringraw(String text)Raw rendering.Stringrender(javax.json.JsonObject json)Render.
-
-
-
Method Detail
-
github
Github github()
Get its owner.- Returns:
- Github
-
render
String render(javax.json.JsonObject json) throws IOException
Render.- Parameters:
json- JSON parameters- Returns:
- HTML
- Throws:
IOException- If it fails due to I/O problem
-
raw
String raw(String text) throws IOException
Raw rendering.- Parameters:
text- Text in Markdown format- Returns:
- HTML
- Throws:
IOException- If it fails due to I/O problem
-
-