storybookjs / marksy

📑 A markdown to custom VDOM components library
MIT License
354 stars 46 forks source link

How might I use this with frontmatter? #58

Open loganpowell opened 6 years ago

loganpowell commented 6 years ago

I'm about to use marksy for pulling markdown from github (via their wonderful graphl API) and I was curious about how I would use marksy to get frontmatter working (for creating a list of files that link to the actual markdown pages, e.g.).

Any pointers?

jmz7v commented 6 years ago

Hi @loganpowell I'm currently migrating my Jekyll blog to Gatsby (Jekyll uses a frontmatter to store data), I'm not sure how I'm going to resolve the frontmatter to json but this two pages might help you https://github.com/jxson/front-matter https://www.gatsbyjs.org/blog/2017-11-08-migrate-from-jekyll-to-gatsby/

ghost commented 6 years ago

Thanks @jmz7v! Let me know if you have some insights once you migrate.

ArthurHwang commented 4 years ago

I know this post is old, but is there any answer to this?

I have markdown files working with marksy but no way to access frontmatter to build an index page.