Editorial Workflows

Remark

public workflow

Install Workflow

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: This is an adaptation of an AppleScript I wrote to generate Remark slideshows from a Markdown outline (intended for use with FoldingText). More info: https://github.com/gnab/remark/wiki/FoldingText-Support-using-AppleScript

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
A document must be open... ?
Run the block if
File Name
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
ON
Message
No Document Selected
…End If
Document Text ?
Folded Text
  • Include
  • Replace with:
Find / Replace ?
Find
^#{1}
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
--- #
Set Variable ?
Variable Name
Result
Value
Input
Extend Selection ?
Direction
  • Backward
  • Forward
  • Both
Unit
  • Start/End of Document
  • Start/End of Line
  • Number of Characters...
1
Replace Selected Text ?
Replacement Text
<!DOCTYPE html> <html> <head> <title>Title</title> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/> <script src=\"remark.min.js\" type=\"text/javascript\"></script> <link rel=\"stylesheet\" type=\"text/css\" href=\"remark.css\" /> </head> <body> <textarea id=\"source\">" & Result & "</textarea>a <div id=\"slideshow\"></div> </body> </html>