mirror of https://github.com/mpastell/Weave.jl
Fix mimetype order for md2html
parent
c179d3082c
commit
b4f5221e3a
1
NEWS.md
1
NEWS.md
|
@ -7,6 +7,7 @@
|
||||||
* Fix PyPlot for Julia 0.6
|
* Fix PyPlot for Julia 0.6
|
||||||
* Support citations in `pandoc2html` and `pandoc2pdf` output
|
* Support citations in `pandoc2html` and `pandoc2pdf` output
|
||||||
* Fix extra whitespace when `term=true`
|
* Fix extra whitespace when `term=true`
|
||||||
|
* Fix mime type priority for `md2html`
|
||||||
|
|
||||||
### V0.4.0
|
### V0.4.0
|
||||||
* Support passing arguments to document using `args` option
|
* Support passing arguments to document using `args` option
|
||||||
|
|
|
@ -67,7 +67,7 @@ const pdoc2html = Pandoc("Markdown to HTML (requires Pandoc)",
|
||||||
:extension=> "md",
|
:extension=> "md",
|
||||||
:mimetypes => ["image/png", "image/svg+xml", "image/jpg",
|
:mimetypes => ["image/png", "image/svg+xml", "image/jpg",
|
||||||
"text/html", "text/markdown", "text/plain"],
|
"text/html", "text/markdown", "text/plain"],
|
||||||
:doctype=> "md2html"))
|
:doctype=> "pandoc2html"))
|
||||||
|
|
||||||
type Markdown
|
type Markdown
|
||||||
description::AbstractString
|
description::AbstractString
|
||||||
|
@ -98,7 +98,7 @@ const md2html = JMarkdown2HTML("Julia markdown to html", Dict{Symbol,Any}(
|
||||||
:outputend=> "</pre>\n",
|
:outputend=> "</pre>\n",
|
||||||
:fig_ext=> ".png",
|
:fig_ext=> ".png",
|
||||||
:mimetypes => ["image/png", "image/jpg", "image/svg+xml",
|
:mimetypes => ["image/png", "image/jpg", "image/svg+xml",
|
||||||
"text/latex", "text/plain"],
|
"text/html", "text/markdown", "text/plain"],
|
||||||
:extension=> "html",
|
:extension=> "html",
|
||||||
:doctype=> "md2html"))
|
:doctype=> "md2html"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue