Update CommonMark packages to v0.24.0 #476
No reviewers
Labels
No labels
antville.org
bug
compatibility
dependency
duplicate
enhancement
help wanted
invalid
java
javascript
major
needs feedback
needs work
no-issue-activity
runtime
security
urgent
usability
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: antville/antville#476
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "renovate/commonmark-packages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.21.0
->0.24.0
0.21.0
->0.24.0
0.21.0
->0.24.0
0.21.0
->0.24.0
Release Notes
commonmark/commonmark-java (org.commonmark:commonmark-ext-gfm-tables)
v0.24.0
Added
SourceSpan
on nodes now have agetInputIndex
to get the index within theoriginal input string (in addition to the existing line/column indexes).
This is useful when looking up the input source: It can now be done using
substring
instead of having to split the input into lines first (#348)TextContentRenderer
vialineBreakRendering
on the builder; e.g.
LineBreakRendering.SEPARATE_BLOCKS
will render an emptyline between blocks (#344)
Changed
Fixed
TextContentRenderer
(#346)v0.23.0
Added
Syntax:
Main text[^1]
Inline footnotes like
^[inline footnote]
are also supported when enabledvia an option in
FootnotesExtension.Builder
Use class
FootnotesExtension
in artifactcommonmark-ext-footnotes
(#332)omitSingleParagraphP
inHtmlRenderer.Builder
for not using<p>
tags for when a document only has one paragraph (#150)
[foo]
),see
Parser.Builder#linkProcessor
Parser.Builder#customInlineContentParserFactory
. This allows users/extensionsto hook into inline parsing on a deeper level than before (e.g. with delimiter
processors). It can be used to add support for math/latex formulas or other inline
syntax. (#321)
Changed
DefaultUrlSanitizer
now also allowsdata
as a protocol. Use theconstructor with a list to customize this. (#329)
LinkReferenceDefinition
now extendsBlock
(it was extendingNode
directly before)
MarkdownRenderer
: Don't escape=
text if it's the first node in a block (#335)Fixed
by characters other than space/tab). In that case, the title was set to the
partially-parsed title and the source spans were wrong. (#315)
MarkdownRenderer
: Preserve thematic break literals (#331)v0.22.0
Added
MarkdownRenderer
for rendering nodes to Markdown (CommonMark) (#306)!Note that while care is taken to produce equivalent Markdown, some differences
in the original Markdown (if parsed) are not preserved, such as:
so jlink can be used; the old
Automatic-Module-Name
manifest entries were removedorg.commonmark.parser.beta
containing classes that are not part ofthe stable API but are exported from the module because they might be useful for
extension parsers
org.commonmark.text
for text related utilities that are useful forboth parsing and rendering
TableCell
now hasgetWidth
returning the number of dash and colon charactersin the delimiter row, useful for rendering proportional width tables (#296)
ThematicBreak
now hasgetLiteral
containing the string that was used in thesource when parsing (#309)
ListItem
now hasgetMarkerIndent
andgetContentIndent
for retrieving thespace between the start of the line and the marker/content
BulletList
,OrderedList
,FencedCodeBlock
and replaced with nullable ones because they might not be set when constructing
these nodes manually instead of via parsing
Changed
Fixed
LinkReferenceDefinition
having nullSourceSpan
when title is presentand parsing with source spans option enabled (#310)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.