# Weave.jl: jmd -\> md -\> pdf

**URL:** <https://discourse.julialang.org/t/weave-jl-jmd-md-pdf/37970>\
**Category:** General Usage\
**Tags:** question\
**Created:** [April 21, 2020, 3:07pm UTC](https://discourse.julialang.org/t/weave-jl-jmd-md-pdf/37970 "2020-04-21T15:07:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpo/32/3335_2.png) [@dpo](https://discourse.julialang.org/u/dpo)\
**Post date:** [April 21, 2020, 3:07pm UTC](https://discourse.julialang.org/t/weave-jl-jmd-md-pdf/37970/1 "2020-04-21T15:07:45Z")

</div>

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.
