Mdx-deck: Modes

Created on 31 Jul 2018  Â·  4Comments  Â·  Source: jxnblk/mdx-deck

It would be great to have separate modes for presenting, editing, etc. This is a placeholder for discussing what that could look like

discussion

Most helpful comment

I would probably lean more towards JSX within the component, maybe with an optional md prop if we wanted markdown – seems more inline with the MDX spec

All 4 comments

As far as presenting is concerned, I think it'd be cool to expose the presenting notes as some sort of component. That way we can hide the content unless we're in presentation mode. Though I'm not sure if we want the contents to be JSX or MD.

# Hello, world!

<MDXDeck.Notes>
  Here are some notes for the presenter.

  Not sure if this should be <b>JSX</b> or _markdown_.
</MDXDeck.Notes>

I would probably lean more towards JSX within the component, maybe with an optional md prop if we wanted markdown – seems more inline with the MDX spec

This is an incredible library!

Closing in favor of more specific issues now that presenter mode is in – #41

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wesbos picture wesbos  Â·  6Comments

QuentinRoy picture QuentinRoy  Â·  5Comments

zz1211 picture zz1211  Â·  7Comments

busypeoples picture busypeoples  Â·  5Comments

millette picture millette  Â·  3Comments