Weave.jl: jmd -> md -> pdf

I asked this question on Slack but no answer so far.

I use Weave.jl to convert a jmd file to pandoc format. Julia code blocks end up being annotated with {.julia}. I then convert to PDF via \LaTeX with the --listings Pandoc option. That allows me to use the jlcode \LaTeX package to display code blocks.

But is it possible to also have the code blocks that contain the results be annotated with something of the user’s choosing, say {.results} ? The Weave.jl docs mention that we can use results="markup" (that seems to be the default), "hidden", or “anything else for raw output” (which doesn’t produce a code block at all).

That would be useful if one wishes to have the results formatted differently than the source code.

Thanks.