public class HTMLGenerator extends MarkdownGenerator
| Modifier and Type | Field and Description |
|---|---|
protected static com.vladsch.flexmark.util.data.DataHolder |
OPTIONS
The constant OPTIONS.
|
protected com.vladsch.flexmark.parser.Parser |
parser
The Parser.
|
protected com.vladsch.flexmark.html.HtmlRenderer |
renderer
The Renderer.
|
| Constructor and Description |
|---|
HTMLGenerator()
Instantiates a new Html generator.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
generateHTMLIndex(kong.unirest.json.JSONObject i,
java.lang.String dest)
Generate html index string.
|
java.util.List<kong.unirest.json.JSONObject> |
output(java.io.File dest,
java.util.List<kong.unirest.json.JSONObject> doc)
Output list.
|
protected java.lang.String |
wrapHTML(java.lang.String html,
java.lang.String title)
Wrap html string.
|
getMarkdowngenerateSignature, sanitizeprotected static final com.vladsch.flexmark.util.data.DataHolder OPTIONS
protected final com.vladsch.flexmark.parser.Parser parser
protected final com.vladsch.flexmark.html.HtmlRenderer renderer
public java.util.List<kong.unirest.json.JSONObject> output(java.io.File dest,
java.util.List<kong.unirest.json.JSONObject> doc)
throws java.io.IOException
AbstractGeneratoroutput in class MarkdownGeneratordest - the destdoc - the docjava.io.IOException - the io exceptionprotected java.lang.String generateHTMLIndex(kong.unirest.json.JSONObject i,
java.lang.String dest)
i - thedest - the destprotected java.lang.String wrapHTML(java.lang.String html,
java.lang.String title)
html - the htmltitle - the title