From 42548626b366a67f2d7a16034f61cef9896f144e Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Tue, 8 Aug 2023 16:18:58 +0200 Subject: [PATCH] handle output --- src/Literate.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Literate.jl b/src/Literate.jl index f250a3d..0be0be4 100644 --- a/src/Literate.jl +++ b/src/Literate.jl @@ -681,7 +681,7 @@ function execute_markdown!(io::IO, sb::Module, block::String, outputdir; r, str, _ = execute_block(sb, block; inputfile=inputfile, fake_source=fake_source) # issue #101: consecutive codefenced blocks need newline # issue #144: quadruple backticks allow for triple backticks in the output - plain_fence = "\n````\n" => "\n````" + plain_fence = "\n````$(flavor == CarpentriesFlavor() ? "output" : "")\n" => "\n````" # Here CarpentiresFlavor fork... if r !== nothing && !REPL.ends_with_semicolon(block) if (flavor isa FranklinFlavor || flavor isa DocumenterFlavor) &&