|
2 | 2 | <head> |
3 | 3 | </head> |
4 | 4 | <body> |
5 | | -<p><strong>flexmark-java extension for formatter processing</strong></p> |
6 | | -<p>Converts formatter syntax into blah, blah, blah.</p> |
| 5 | +<p><strong>flexmark-java markdown formatter module</strong></p> |
| 6 | +<p>Outputs AST as formatted Markdown with user configurable options.</p> |
| 7 | +<p>Options for output control, pass via <code>DataHolder</code> taking method <code>parse()</code> method. The following |
| 8 | +options are available:</p> |
| 9 | +<p>Defined in <code>TaskListExtension</code> class:</p> |
| 10 | +<ul> |
| 11 | + <li><code>FlexmarkHtmlParser.LIST_CONTENT_INDENT</code>, default <code>true</code>, continuation lines of list items and |
| 12 | + definitions indent to content column otherwise 4 spaces</li> |
| 13 | + <li><code>FlexmarkHtmlParser.SETEXT_HEADINGS</code>, default <code>true</code>, if true then use Setext headings for h1 |
| 14 | + and h2</li> |
| 15 | + <li><code>FlexmarkHtmlParser.OUTPUT_UNKNOWN_TAGS</code>, default <code>false</code>, when true unprocessed tags will be |
| 16 | + output, otherwise they are ignored</li> |
| 17 | + <li><code>FlexmarkHtmlParser.ORDERED_LIST_DELIMITER</code>, default <code>'.'</code>, delimiter for ordered items</li> |
| 18 | + <li><code>FlexmarkHtmlParser.UNORDERED_LIST_DELIMITER</code>, default <code>'*'</code>, delimiter for unordered list |
| 19 | + items</li> |
| 20 | + <li><code>FlexmarkHtmlParser.DEFINITION_MARKER_SPACES</code>, default <code>3</code>, min spaces after <code>:</code> for |
| 21 | + definitions</li> |
| 22 | + <li><code>FlexmarkHtmlParser.MIN_TABLE_SEPARATOR_COLUMN_WIDTH</code>, default <code>1</code>, min 1, minimum number of |
| 23 | + <code>-</code> in separator column, excluding alignment colons <code>:</code></li> |
| 24 | + <li><code>FlexmarkHtmlParser.MIN_TABLE_SEPARATOR_DASHES</code>, default <code>3</code>, min 3, minimum separator column |
| 25 | + width, including alignment colons <code>:</code></li> |
| 26 | + <li><code>FlexmarkHtmlParser.MIN_SETEXT_HEADING_MARKER_LENGTH</code>, default <code>3</code>, min 3, minimum setext |
| 27 | + heading marker length</li> |
| 28 | + <li><code>FlexmarkHtmlParser.CODE_INDENT</code>, default 4 spaces, indent to use for indented code</li> |
| 29 | + <li><code>FlexmarkHtmlParser.EOL_IN_TITLE_ATTRIBUTE</code>, default <code>" "</code>, string to use in place of EOL in |
| 30 | + image and link title attribute.</li> |
| 31 | + <li><code>FlexmarkHtmlParser.NBSP_TEXT</code>, default <code>" "</code>, string to use in place of non-break-space</li> |
| 32 | + <li><code>FlexmarkHtmlParser.THEMATIC_BREAK</code>, default <code>"*** ** * ** ***"</code>, <code><hr></code> replacement</li> |
| 33 | +</ul> |
| 34 | +<p>Uses the excellent <a href="https://jsoup.org/">jsoup</a> HTML parsing library and emoji shortcuts using |
| 35 | +<a href="http://www.emoji-cheat-sheet.com/">Emoji-Cheat-Sheet.com</a></p> |
7 | 36 | </body> |
8 | 37 | </html> |
0 commit comments