From 6423b2add58fd770a6486d25f833815c0c4d3db9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 18:25:05 +0000 Subject: [PATCH] Bump commonMark from 0.29.0 to 0.30.0 (#1887) * Bump commonMark from 0.29.0 to 0.30.0 Bumps `commonMark` from 0.29.0 to 0.30.0. Updates `org.commonmark:commonmark` from 0.29.0 to 0.30.0 - [Release notes](https://github.com/commonmark/commonmark-java/releases) - [Changelog](https://github.com/commonmark/commonmark-java/blob/main/CHANGELOG.md) - [Commits](https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.29.0...commonmark-parent-0.30.0) Updates `org.commonmark:commonmark-ext-gfm-tables` from 0.29.0 to 0.30.0 - [Release notes](https://github.com/commonmark/commonmark-java/releases) - [Changelog](https://github.com/commonmark/commonmark-java/blob/main/CHANGELOG.md) - [Commits](https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.29.0...commonmark-parent-0.30.0) --- updated-dependencies: - dependency-name: org.commonmark:commonmark dependency-version: 0.30.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.commonmark:commonmark-ext-gfm-tables dependency-version: 0.30.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * implement missing method --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jen Basch --- gradle/libs.versions.toml | 2 +- pkl-doc/src/main/kotlin/org/pkl/doc/Markdown.kt | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 53ccc708b..8393a8e9d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,7 +3,7 @@ assertj = "3.27.7" checksumPlugin = "1.4.0" # 5.0.3 is the last version compatible with Kotlin 2.2 clikt = "5.0.3" -commonMark = "0.29.0" +commonMark = "0.30.0" downloadTaskPlugin = "5.7.0" eclipseCdtFormat = "12.2" errorProne = "2.50.0" diff --git a/pkl-doc/src/main/kotlin/org/pkl/doc/Markdown.kt b/pkl-doc/src/main/kotlin/org/pkl/doc/Markdown.kt index fcc39028a..038173955 100644 --- a/pkl-doc/src/main/kotlin/org/pkl/doc/Markdown.kt +++ b/pkl-doc/src/main/kotlin/org/pkl/doc/Markdown.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2024-2025 Apple Inc. and the Pkl project authors. All rights reserved. + * Copyright © 2024-2026 Apple Inc. and the Pkl project authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -103,6 +103,9 @@ internal class MarkdownParserContext( override fun getCustomLinkProcessors(): MutableList = mutableListOf() override fun getCustomLinkMarkers(): MutableSet = mutableSetOf() + + // default value from org.commonmark.parser.Parser.Builder.maxInlineNesting + override fun getMaxInlineNesting(): Int = 100 } internal class MarkdownNodeRenderer(context: HtmlNodeRendererContext) :