Skip to content

Commit

Permalink
use Base.show (#165)
Browse files Browse the repository at this point in the history
* use Base.show

* drop offending show method altogether
  • Loading branch information
kleinschmidt authored and mpastell committed Jan 28, 2019
1 parent 921b9ec commit d0c71ba
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Markdown2HTML.jl
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,4 @@ htmlinline(io::IO, x) = tohtml(io, x)

html(md) = sprint(html, md)

function show(io::IO, ::MIME"text/html", md::MD)
withtag(io, :div, :class=>"markdown") do
html(io, md)
end
end


end

0 comments on commit d0c71ba

Please sign in to comment.