We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de824f6 commit 5a48b37Copy full SHA for 5a48b37
src/resources/filters/quarto-pre/code-annotation.lua
@@ -422,6 +422,11 @@ function code()
422
-- don't process code cell output here - we'll get it above
423
if not block.attr.classes:find('cell-code') then
424
425
+ if pendingCodeCell then
426
+ outputBlock(pendingCodeCell)
427
+ clearPending()
428
+ end
429
+
430
local cellId = resolveCellId(block.attr.identifier)
431
local codeCell = processCodeCell(block, cellId)
432
if codeCell then
@@ -502,6 +507,11 @@ function code()
502
507
else
503
508
outputBlockClearPending(dl)
504
509
end
510
+ else
511
512
513
514
+ clearPending();
505
515
506
516
517
outputBlockClearPending(block)
0 commit comments