-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quarto hugo-md rendering doesn't work with shortcodes with named arguments #10292
Comments
Thanks for the report. Our Extract for the trace json showing shortcode replacement
Escaping shortcode: https://quarto.org/docs/extensions/shortcodes.html#escaping seems to work here.
Anyhow, for hugo-md escaping seems to be the key here - though this is a change from what we documented for Hugo https://quarto.org/docs/output-formats/hugo.html#shortcodes
Not the case anymore. We should probably at least update the doc, or fix if this is unintended. |
It seems we reconstruct the shortcode when unknown, but we are missing the quarto-cli/src/resources/filters/customnodes/shortcodes.lua Lines 227 to 230 in de63688
|
Definitely a bug we need to fix. I'm surprised about the |
Bug description
When trying to render quarto .qmd into an .md for a hugo website I get a bug where the names of named arguments are removed from shortcodes.
Steps to reproduce
When I run
quarto render
on:Expected behavior
I expect to get:
Actual behavior
Instead the resulting file is:
Your environment
OS: Ubuntu 24.04 LTS using Windows WSL
Quarto check output
The text was updated successfully, but these errors were encountered: