Action

Hyperdeck

Posted by Joel_Arnold, Last update almost 4 years ago

Just a total rough draft (on a beta!) but already useful to me. I hope to stay up with this as Hyperdeck develops.

Hereโ€™s a way to quickly process Markdown to make it useable for the new Hyperdeck.io app (forthcoming). It does several processes at onceโ€”all of them easy enough to change within the script to suit your preferences.

  • Any of these in the text will trigger a slide seperater (new slide)

  • All Zoom comments (when teaching I sometimes drop student questions directly from the chat into hyperdeck so the entire class can see it nicely formatted)

  • ๐ŸŒ  signs

  • Or ^

  • This as a bullet marker will trigger speaker notes (currently not working in the hyperdeck beta). Meaning any occurrences of โ€œ- *โ€ becomes โ€œ;;โ€

This gets really useful using this shortcut which pulls from the clipboard, runs it through this action, saves it back to the Clipboard and opens Hyperdeck.

https://www.icloud.com/shortcuts/f9f8a72d10394c0d89976c2fd073e805

Steps

  • script

    // Hyperdeck Script
    
    // Replaces all Zoom style comments with slide breaks.
    
    draft.content = draft.content.replace(/From.*?M\)/g, "***");
    
    // Replaces ^ with ***
    draft.content = draft.content.replace(/\^/g, "***");
    
    
    // Replaces โ€œ- *โ€ with ;;
    draft.content = draft.content.replace(/- \*/g, ";; ");
    
    // Replaces ๐ŸŒ  with ***
    draft.content = draft.content.replace(/๐ŸŒ /g, "***");
    
    app.setClipboard(draft.content);
    draft.update();
    

Options

  • After Success Default
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.