Skip to content

Instantly share code, notes, and snippets.

@iamkevingreen
Created December 11, 2017 11:17
Show Gist options
  • Save iamkevingreen/3ab6fedfc0189670032d0a639cd02979 to your computer and use it in GitHub Desktop.
Save iamkevingreen/3ab6fedfc0189670032d0a639cd02979 to your computer and use it in GitHub Desktop.
const marked = require('marked')
module.exports = (data) => {
return `
<section className='z1 rel'>
<div className='rel f aic jcc'>
<div className='container rel fill-h'>
<div className='outer container--c container--a'>
${marked(data.fields.textContent)}
</div>
</div>
</div>
</section>
`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment