pub fn extract_deck(doc: &SurfDoc) -> (DeckConfig, Vec<SlideEntry>)Expand description
Extract deck config and slide list from a parsed SurfDoc.
Returns (deck_config, slides). If the document contains explicit
::slide blocks they are used directly; otherwise the document body is
auto-split into slides on #/## heading boundaries.