contentful-metalsmith | pulls content from the Contentful API | Static Site Generator library
kandi X-RAY | contentful-metalsmith Summary
kandi X-RAY | contentful-metalsmith Summary
This plugin for metalsmith allows you to build a static site using the data stored at Contentful. It is built on top of the Contentful JavaScript Client.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of contentful-metalsmith
contentful-metalsmith Key Features
contentful-metalsmith Examples and Code Snippets
Community Discussions
Trending Discussions on contentful-metalsmith
QUESTION
I am trying to use Metalsmith to render content from the Contentful platform (using the metalsmith-contentful platform and metalsmith-layout as per the example here).
One of my contentful fields is markdown text, so I want to render it as HTML in the final template. My initial setup was similar to the example above but only read the markdown text as plain text.
I am now trying to convert the markdown in a handlebars helper, i.e.
...ANSWER
Answered 2017-Jul-06 at 10:24Do you get any exceptions?
I've got exactly the same setup right now. And I think you're really close already.
What I do is, I call registerHelper
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install contentful-metalsmith
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page