Skip to content

Add Kotlin to language comment-character maps#14482

Merged
cderv merged 1 commit into
mainfrom
fix/issue-14472
May 4, 2026
Merged

Add Kotlin to language comment-character maps#14482
cderv merged 1 commit into
mainfrom
fix/issue-14472

Conversation

@cderv
Copy link
Copy Markdown
Member

@cderv cderv commented May 4, 2026

Kotlin code annotations (// <1>) did not render the circled badge — kotlin was not in the comment-character maps that drive annotation rendering, YAML cell-option parsing, Jupyter conversion, and the knitr engine.

Adds kotlin// to all five maps (constants.lua, partition-cell-options.ts, jupyter.ts, notebook.py, hooks.R) plus the smoke-all language-support test, mirroring the precedent from previous additions (q in #13936, rust, ocaml).

Fixes #14472

Adds kotlin (//) to the language comment-character maps in
constants.lua, partition-cell-options.ts, jupyter.ts, notebook.py, and
hooks.R, plus an entry in the smoke-all language-support test.

Closes #14472.
@posit-snyk-bot
Copy link
Copy Markdown
Collaborator

posit-snyk-bot commented May 4, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cderv cderv merged commit e768e5c into main May 4, 2026
50 of 51 checks passed
@cderv cderv deleted the fix/issue-14472 branch May 4, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add kotlin to kLangCommentChars — numbered code annotations don't render for Kotlin blocks

2 participants