Send to Remarkable

Posted by enivrezvous, Last update about 1 month ago

Action a copy of raigmcclellan’s PDF Export action, repurposed for Remarkable.

Takes a draft and sends to Remarkable as a PDF using iPhone shortcuts.

Use shortcut:


  • script

    // Process Markdown to HTML
    var mmd = MultiMarkdown.create();
    var html = mmd.render(draft.content);
    // Wrap raw MMD output with HTML template with styles to set base fonts.
    var template = "<html><style>body{font-family:'Avenir Next';font-size:100%;line-height: 3;}</style><body>[[content]]</body></html>"
    var html = template.replace("[[content]]", html);
    // Set draft template which can be used by the run workflow action next
    draft.setTemplateTag("script_content", html)
  • runWorkflow

    Draft to Remarkable


  • 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.