rossant / ipymd

Use the IPython notebook as an interactive Markdown editor
BSD 3-Clause "New" or "Revised" License
484 stars 42 forks source link

Support slides #58

Open rossant opened 9 years ago

rossant commented 9 years ago

related to nbconvert and work done by @damianavila ping @bollwyvl too

bollwyvl commented 9 years ago

ioslides looks nice. hooray frontmatter. boo just one frontmatter. the --- to denote slides is good, and might be a nice shorthand in #38 if you just want to break up a document into cells. i think showoff is pretty wonderful. reveal would demand some more thought... its markdown dialect is not good, so i would likely not bring that across.

perhaps in addition to ---, allow for a few more config items as shortcuts to metadata.slideshow:

To get stable links in reveal, one would also need ids... --- #slide-i-want-to-link-to is not bad... but i am pretty sure it would take a patch to nbconvert to get that to happen.

i don't know if nbconvert uses the contentmanager, but a two-step of ipymd foo.md > nbconvert --to slides wouldn't be awful.

My most requested feature would be slide reuse, which heretofore has been avoided by ipython proper, but would make a lot of sense in a custom content manager. showoff does it with a dedicated manifest JSON, but keeping it in markdown would be unique. the big challenge is the dsl for picking particular slides (especially once fragments and subslides enter the picture).

===
    theme: blood
===

---

# Presentation: Part 2
## Electric Boogaloo
## Date

---

# Back In Part 1...

+++
    include: ../part1/slides.md#conclusion
+++

---

# ...and now for something completely different
- some new content

---
    include: ../common/contact.md
---