Replies: 2 comments 4 replies
-
|
@zinc75 Please don't bypass the issues templates from the issue menu picker and do follow the guidelines provided. Issues are not to ask questions, issues are for bug reports that follow strictly the templates to ensure something can be done. Also, reports are to be self-contained and avoid requesting others to navigate through multiple places to understand what this is about. Thank you for your understanding! I'm converting this as a discussion. |
Beta Was this translation helpful? Give feedback.
-
|
You should not have top-level options, especially options know to be used by Quarto to avoid conflicts and confusion with Quarto and other extensions. Your options should be scoped. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm a user and contributor of the quarto-comments extension by vgreg, which adds a custom
comments:key to document frontmatter. I use it in my thesis template quarto-cnam-thesis.I've run into a validation issue that I can't seem to get around cleanly — full discussion here: vgreg/quarto-comments#6
The extension already declares
metadata-keys: [comments]in_extension.yml, which correctly whitelists the top-levelcomments:key. But Quarto then tries to validate its contents and rejects all sub-keys (enabled,show_author,authors, ...):The only workaround right now is
validate-yaml: false, which kills all YAML validation project-wide — pretty heavy-handed just for a custom config block.Any ideas on how to handle this properly? Two things that would help:
schema/folder or via a new field in_extension.yml)additionalProperties: trueautomatically applied to any key declared viametadata-keysThe second option feels like a small, non-breaking change that would unblock a lot of extension authors.
But happy to hear if there's already a way to do this that vgreg and I missed!
Thanks 🙏
Beta Was this translation helpful? Give feedback.
All reactions