Editorial Workflows

Minify CSS

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: Compress your CSS with this simple workflow. This workflow nukes all unnecessary white space and comments and copies the result to your clipboard. I created it to drop CSS into my Editorial projects when I need to work off line, so the minified CSS comes wrapped in style tags.

Shared by: Phil Selman

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Selected Text ?
Entire Line(s)
ON
Empty Selection Output
  • No Output
  • All Text
  • Closest Word
Folded Text
  • Include
  • Replace with:
Find / Replace ?
Find
\s+
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Find / Replace ?
Find
/[*][^*]*[*]/
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Find / Replace ?
Find
^\s*([^\s])
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
$1
Find / Replace ?
Find
([{}:;])\s*
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
$1
Find / Replace ?
Find
:
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
:
Find / Replace ?
Find
Input
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
<style type="text/css">Input</style>
Set Clipboard ?
Select Range ?
Range (from:to)
0:0
Relative to
  • Entire Document
  • Current Selection