Java library for parsing and rendering CommonMark (Markdown)
includeSourceSpans
on Parser.Builder
to enable,
either with IncludeSourceSpans.BLOCKS
or IncludeSourceSpans.BLOCKS_AND_INLINES
Node.getSourceSpans
![text](/url.png){width=640 height=480}
ImageAttributesExtension
in artifact commonmark-ext-image-attributes
- [x] task #1
- [ ] task #2
TaskListItemsExtension
in artifact commonmark-ext-task-list-items
LinkReferenceDefinition
nodes are now part of the document (not
rendered by default).InlineParserContext.getLinkReferenceDefinition
was added to allow
custom inline parsers to look up definitions for reference links.<
unless it is inside <..>
<meta>
as a block tag\|
results in a literal |
instead of a column, everything else
is passed through to inline parsing.|
).
An empty line or another block is needed to interrupt the table.<tbody>
is no longer rendered in HTML[\\\\...
(a lot of backslashes)[]([]([](...
TextContentRenderer
), thanks @ahjaworskiAutomatic-Module-Name
manifest entries so that library can be used
nicely in Java 9 modules. The module names correspond to the root
package name: org.commonmark
, org.commonmark.ext.autolink
, etc.DelimiterProcessor
with the same delimiter char as long
as they have different length, thanks @szeiger**text** and text
had rendered as textand text
[\]
being parsed as link label[foo](<\>)
resulting in \
in hrefhttp://.
(#99)