Skip to content

Commit

Permalink
triple quote for markdown output
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Sep 27, 2020
1 parent 0e662ec commit a1830e0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/rendering/miscformats.jl
Expand Up @@ -4,12 +4,12 @@
Base.@kwdef mutable struct GitHubMarkdown <: WeaveFormat
description = "GitHub Markdown"
extension = "md"
codestart = "````julia"
codeend = "````\n\n"
codestart = "```julia"
codeend = "```\n\n"
termstart = codestart
termend = codeend
outputstart = "````"
outputend = "````\n\n"
outputstart = "```"
outputend = "```\n\n"
fig_ext = ".png"
mimetypes = ["image/png", "image/svg+xml", "image/jpg",
"text/markdown", "text/plain"]
Expand Down Expand Up @@ -50,12 +50,12 @@ end
Base.@kwdef mutable struct Hugo <: WeaveFormat
description = "Hugo Markdown (using shortcodes)"
extension = "md"
codestart = "````julia"
codeend = "````\n\n"
codestart = "```julia"
codeend = "```\n\n"
termstart = codestart
termend = codeend
outputstart = "````"
outputend = "````\n\n"
outputstart = "```"
outputend = "```\n\n"
mimetypes = default_mime_types
fig_ext = ".png"
out_width = nothing
Expand Down Expand Up @@ -88,12 +88,12 @@ end
Base.@kwdef mutable struct MultiMarkdown <: WeaveFormat
description = "MultiMarkdown"
extension = "md"
codestart = "````julia"
codeend = "````\n\n"
codestart = "```julia"
codeend = "```\n\n"
termstart = codestart
termend = codeend
outputstart = "````"
outputend = "````\n\n"
outputstart = "```"
outputend = "```\n\n"
mimetypes = default_mime_types
fig_ext = ".png"
out_width = nothing
Expand Down

0 comments on commit a1830e0

Please sign in to comment.