Skip to content

Commit 569135a

Browse files
committed
asciidoc, code annotation - format the annotation marker as raw asciidoc
1 parent 5f0bb3b commit 569135a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resources/filters/quarto-pre/code-annotation.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,10 +529,10 @@ function code_annotations()
529529
local dl
530530
if _quarto.format.isAsciiDocOutput() then
531531
local formatted = pandoc.List()
532-
for _i,v in ipairs(items) do
532+
for _,v in ipairs(items) do
533533
local annotationMarker = v[1] .. ' '
534534
local definition = v[2]
535-
tprepend(definition.content, {annotationMarker})
535+
tprepend(definition.content, {pandoc.RawInline('asciidoc', annotationMarker)})
536536
formatted:insert(definition)
537537
end
538538
dl = pandoc.Div(formatted)

0 commit comments

Comments
 (0)