Open cscheid opened 1 year ago
@andrewpbray Thanks for the example! What's happening here is that quarto is getting confused when you specify an ID and then it turns out the ID is no longer there when you remove it under the conditional content.
We'd like to emit a warning here (and will in the future). But we're getting ready for the 1.3 release and there's a lot on our plate.
Here's a workaround: since you're using a noblog
profile, you can also choose to put the listings configuration in your yesblog
profile (or whichever appropriate name that is). We'll make sure to behave more consistently in 1.4.
That makes a lot of sense - the reason and the workaround. I'll go ahead specify the yesblog
as the default for now.
Good luck finishing up 1.3 - can't wait!
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/4635