Export to markdown: merge input and output cells into the same block quote

22 views
Skip to first unread message

Dominique Orban

unread,
Jan 25, 2020, 9:47:54 PM1/25/20
to Project Jupyter
I hope this is the right place to ask a question.

I would like to export a notebook to markdown and subsequently compile to PDF via LaTeX using Pandoc and the `listings` environment. In the exported markdown, the input and output cells look like this:

    ```julia
    x = [1.0, 2.3, 3.14]
    ```









       
3-element Array{Float64,1}:
         
1.0
         
2.3
         
3.14



Is it possible to export the notebook so the input and output cells are in the same block quote? For example, I would like the above to be instead

    ```julia
    x = [1.0, 2.3, 3.14]


        3-element Array{Float64,1}:
         1.0
         2.3
         3.14
    ```

Is that possible?

Thank you in advance.
Reply all
Reply to author
Forward
0 new messages