Skip to content

Instantly share code, notes, and snippets.

Avatar

Evgenii Vilkov zzeneg

View GitHub Profile
View index-content.js
// ### 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
You can’t perform that action at this time.