Fix mimetype order for md2html

pull/86/head
Matti Pastell 2017-03-14 18:54:03 +02:00
parent c179d3082c
commit b4f5221e3a
2 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@
* Fix PyPlot for Julia 0.6
* Support citations in `pandoc2html` and `pandoc2pdf` output
* Fix extra whitespace when `term=true`
* Fix mime type priority for `md2html`
### V0.4.0
* Support passing arguments to document using `args` option

View File

@ -67,7 +67,7 @@ const pdoc2html = Pandoc("Markdown to HTML (requires Pandoc)",
:extension=> "md",
:mimetypes => ["image/png", "image/svg+xml", "image/jpg",
"text/html", "text/markdown", "text/plain"],
:doctype=> "md2html"))
:doctype=> "pandoc2html"))
type Markdown
description::AbstractString
@ -98,7 +98,7 @@ const md2html = JMarkdown2HTML("Julia markdown to html", Dict{Symbol,Any}(
:outputend=> "</pre>\n",
:fig_ext=> ".png",
:mimetypes => ["image/png", "image/jpg", "image/svg+xml",
"text/latex", "text/plain"],
"text/html", "text/markdown", "text/plain"],
:extension=> "html",
:doctype=> "md2html"))