I can't get it to work honestly IDK what's wrong with it:
#let apa-figure(
body,
caption: none,
gap: 1.5em,
kind: auto,
numbering: "1",
outlined: true,
placement: auto,
scope: "column",
supplement: auto,
note: none,
specific-note: none,
probability-note: none,
label: "",
) = context [
#figure(
[
#set par(first-line-indent: 0em)
#body
#set align(left)
#if note != none [
_Nota._
#note
]
#parbreak()
#specific-note
#parbreak()
#probability-note
],
caption: caption,
gap: gap,
kind: kind,
numbering: numbering,
outlined: outlined,
placement: placement,
scope: scope,
supplement: supplement,
) #std.label(label)
]
#show figure: set block(breakable: true, sticky: false)
#show figure: set align(left)
#show raw: set block(breakable: true, sticky: false)
#set raw(block: true)
#show raw: set align(left)
#show raw: it => {
it
}
#outline(target: figure)
#figure(
raw(read("/compose.yaml")),
caption: [figure],
)
#pagebreak()
#apa-figure(
raw(read("/compose.yaml")),
caption: [apa afd asdf adsf],
note: [Este define 4 servicios que comparten la misma red, la aplicación web, la base de datos, el proxy, y almacenamiento de archivos estáticos. Cada uno con su respectivo volumen para persistencia de datos.],
label: "fig:proposed-docker-compose",
)