Skip to content

Commit

Permalink
wip:
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Jun 2, 2020
1 parent 0334ca0 commit 7b48a06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ uuid = "44d3d7a6-8a23-5bf8-98c5-b353f8df5ec9"
version = "0.10.2"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615"
Gumbo = "708ec375-b3d6-5a57-a7ce-8257bf98657a"
Highlights = "eafb193a-b7ab-5a9e-9068-77385905fa72"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
Expand Down
4 changes: 2 additions & 2 deletions src/plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function Base.display(
report::Weave.Report,
m::MIME"image/svg+xml",
data::Plots.Plot{Plots.PlotlyBackend},
)#
)
# Remove extra spaces from start of line for pandoc
s = repr(MIME("text/html"), data)
splitted = split(s, "\n")
Expand All @@ -40,7 +40,7 @@ function Base.display(
report::Weave.Report,
m::MIME"image/png",
data::Plots.Plot{Plots.PlotlyBackend},
)#
)
display(report, MIME("image/svg+xml"), data)
end

Expand Down
4 changes: 2 additions & 2 deletions templates/md2html.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<div class = "col-md-12 twelve columns">
<div class="title">
{{#:title}}<h1 class="title">{{:title}}</h1>{{/:title}}
{{#:author}}<h5>{{{:author}}}</h5>{{/:author}}
{{#:date}}<h5>{{{:date}}}</h5>{{/:date}}
{{#:author}}<h4><em>{{{:author}}}</em></h4>{{/:author}}
{{#:date}}<h4><em>{{{:date}}}</em></h4>{{/:date}}
</div>

{{{ :body }}}
Expand Down

0 comments on commit 7b48a06

Please sign in to comment.