Browse Source

Add text after Admonition

pull/214/head
Sogari 3 years ago committed by Simon Christ
parent
commit
eac8a817b1
  1. 20
      src/Literate.jl

20
src/Literate.jl

@ -944,16 +944,6 @@ function create_notebook(flavor::PlutoFlavor, chunks, config)
write(io, para, '\n') write(io, para, '\n')
index += 1 index += 1
end end
# write(io, "\"\"\"\n")
# write(io, '\n')
# content = String(take!(io))
# uuid = uuid4(content, cellCounter)
# cellCounter += 1
# push!(uuids, uuid)
# push!(folds, fold)
# print(ionb, "# ╔═╡ ", uuid, '\n')
# write(ionb, content, '\n')
end end
############################################################ ############################################################
@ -1020,6 +1010,16 @@ function create_notebook(flavor::PlutoFlavor, chunks, config)
write(io, result, '\n') write(io, result, '\n')
if admoIndex < length(mdContent)
index = admoIndex + 1
while index <= length(mdContent)
para = string(Markdown.MD(mdContent[index]))
write(io, para, '\n')
index += 1
end
end
write(io, "\"\"\"\n") write(io, "\"\"\"\n")
write(io, '\n') write(io, '\n')

Loading…
Cancel
Save