Skip to content

Commit

Permalink
update mwe
Browse files Browse the repository at this point in the history
  • Loading branch information
fatteneder committed Jun 12, 2022
1 parent e97578c commit d479f9f
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions examples/mwe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ content. So far we support
- *italic text*
- **bold text**
- `inline code`
- Emoijs :smile: :tada: :heart:
""")

Expand All @@ -48,12 +49,22 @@ GLMakie.activate!()
f = Figure()
MarkdownBox(fig[1,1], md\"""
Here goes your markdown, e.g. a shopping list with
## Shopping list
---
- milk
- cookies
- bananas
\"""
```
""")

MarkdownBox(fig[1,2], md"""
## Shopping list
---
Here goes your markdown, e.g. a shopping list with
- milk
- cookies
- bananas
""")

end
Expand Down Expand Up @@ -134,7 +145,6 @@ add_slide!(pres) do fig
# TODO
- [-] Inline code (colored background missing)
- [ ] Emojis
- [ ] Links
- [ ] Inline equations
- [ ] Slide headers, footers, page numbers
Expand All @@ -145,9 +155,9 @@ add_slide!(pres) do fig
end


# # save pdf
thisdir = basename(@__DIR__)
MakieSlides.save(joinpath(thisdir, "presentation.pdf"), pres)
# # # save pdf
# thisdir = basename(@__DIR__)
# MakieSlides.save(joinpath(thisdir, "presentation.pdf"), pres)

# Move to first slide
reset!(pres)

0 comments on commit d479f9f

Please sign in to comment.