(Comes from https://github.com/quarto-dev/quarto-cli/discussions/4092#discussioncomment-4950816)

Currently comment letters are managed in multiple files and the same modification must be made to each.

I registered for PRQL in #4147, but did not realize that I needed to register in the following files, so it appears that code annotations are not available for PRQL at this time.

https://github.com/quarto-dev/quarto-cli/blob/94a815fa510272ed55843cde80ad20cac2e6c2bc/src/resources/jupyter/notebook.py#L528-L571
https://github.com/quarto-dev/quarto-cli/blob/94a815fa510272ed55843cde80ad20cac2e6c2bc/src/core/jupyter/jupyter.ts#L1009-L1052
https://github.com/quarto-dev/quarto-cli/blob/94a815fa510272ed55843cde80ad20cac2e6c2bc/src/resources/filters/quarto-pre/code-annotation.lua#L6-L55
https://github.com/quarto-dev/quarto-cli/blob/94a815fa510272ed55843cde80ad20cac2e6c2bc/src/resources/rmd/hooks.R#L818-L863
https://github.com/quarto-dev/quarto-cli/blob/94a815fa510272ed55843cde80ad20cac2e6c2bc/src/core/lib/partition-cell-options.ts#L310-L354

It would be great if these codes were automatically updated from a single definition file and if there were written instructions for registering new languages.
cderv
2023-03-14T13:24:18Z
eitsupi
enhancement
v1.4
open
New language comment characters need to be registered in multiple files
https://github.com/quarto-dev/quarto-cli/issues/4823