Skip to content

Instantly share code, notes, and snippets.

// ### Content Helper
//
// *Usage example:*
// `{{content}}`
// `{{content words="20"}}`
// `{{content characters="256"}}`
// `{{content preview="true"}}`
// `{{content preview="true" words="20"}}`
//
// Turns content html into a safestring so that the user doesn't have to