postprocess
postprocess
apply()
Applies a list of post-processing functions
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
functions | string | Yes | | | |
gist()
Parses out gist links and replaces them with embeds
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
googlecalendar()
Parses out google calendar links and replaces them with embeds
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
width | numeric | No | 600 | | |
height | numeric | No | 400 | | |
firstDayOfWeek | numeric | No | 2 | | 1:sundag,2:monday,7:saturday |
init()
Arguments
Name | Type | Required | Default | Options | Description |
None |
polldaddy()
Inserts PollDaddy embed
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
regexLineMatch()
Creates a Java regular expression match object
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
search | string | Yes | | | |
regexLineReplace()
Uses Java regular expressions to replace
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
search | string | Yes | | | |
replace | string | Yes | | | |
regexMatch()
Creates a Java regular expression match object
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
search | string | Yes | | | |
regexReplace()
Uses Java regular expressions to replace
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
search | string | Yes | | | |
replace | string | Yes | | | |
removewhitespace()
Replace all consecutive spaces with one space
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
rewriteImages()
Updates /images src and links to point to the CDN URLs
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
storify()
Embed Storify articles
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
twitter()
Parses out twitter status links and uses the twitter api to replace them with embeds
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
unescapeUnicode()
Replaces unicode escape sequences with actual characters
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
vimeo()
Parses out vimeo links and replaces them with embeds
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
width | numeric | No | 500 | | |
height | numeric | No | 281 | | |
vine()
Parses out vine links and replaces them with embeds
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
width | numeric | No | 500 | | |
height | numeric | No | 500 | | |
type | string | No | simple | | The embed style: simple, postcard |
youtube()
Parses out youtube links and replaces them with embeds
Arguments
Name | Type | Required | Default | Options | Description |
input | string | Yes | | | |
width | numeric | No | 560 | | |
height | numeric | No | 315 | | |