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
Add a link
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.00.21.0->0.24.00.21.0->0.24.00.21.0->0.24.0Release Notes
commonmark/commonmark-java (org.commonmark:commonmark-ext-gfm-tables)
v0.24.0Added
SourceSpanon nodes now have agetInputIndexto 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
substringinstead of having to split the input into lines first (#348)TextContentRenderervialineBreakRenderingon the builder; e.g.
LineBreakRendering.SEPARATE_BLOCKSwill render an emptyline between blocks (#344)
Changed
Fixed
TextContentRenderer(#346)v0.23.0Added
Syntax:
Main text[^1]
Inline footnotes like
^[inline footnote]are also supported when enabledvia an option in
FootnotesExtension.BuilderUse class
FootnotesExtensionin artifactcommonmark-ext-footnotes(#332)omitSingleParagraphPinHtmlRenderer.Builderfor not using<p>tags for when a document only has one paragraph (#150)
[foo]),see
Parser.Builder#linkProcessorParser.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
DefaultUrlSanitizernow also allowsdataas a protocol. Use theconstructor with a list to customize this. (#329)
LinkReferenceDefinitionnow extendsBlock(it was extendingNodedirectly 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.0Added
MarkdownRendererfor 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-Namemanifest entries were removedorg.commonmark.parser.betacontaining classes that are not part ofthe stable API but are exported from the module because they might be useful for
extension parsers
org.commonmark.textfor text related utilities that are useful forboth parsing and rendering
TableCellnow hasgetWidthreturning the number of dash and colon charactersin the delimiter row, useful for rendering proportional width tables (#296)
ThematicBreaknow hasgetLiteralcontaining the string that was used in thesource when parsing (#309)
ListItemnow hasgetMarkerIndentandgetContentIndentfor retrieving thespace between the start of the line and the marker/content
BulletList,OrderedList,FencedCodeBlockand replaced with nullable ones because they might not be set when constructing
these nodes manually instead of via parsing
Changed
Fixed
LinkReferenceDefinitionhaving nullSourceSpanwhen 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.